mirror of
https://github.com/flarum/core.git
synced 2025-08-05 16:07:34 +02:00
common: update micromodal
This commit is contained in:
@@ -11,7 +11,7 @@
|
|||||||
"jump.js": "^1.0.2",
|
"jump.js": "^1.0.2",
|
||||||
"lodash": "^4.17.15",
|
"lodash": "^4.17.15",
|
||||||
"m.attrs.bidi": "github:tobscure/m.attrs.bidi",
|
"m.attrs.bidi": "github:tobscure/m.attrs.bidi",
|
||||||
"micromodal": "^0.4.2",
|
"micromodal": "^0.4.6",
|
||||||
"mithril": "^2.0.4",
|
"mithril": "^2.0.4",
|
||||||
"mousetrap": "^1.6.5",
|
"mousetrap": "^1.6.5",
|
||||||
"punycode": "^2.1.1",
|
"punycode": "^2.1.1",
|
||||||
|
@@ -59,6 +59,7 @@ export default class ModalManager extends Component {
|
|||||||
MicroModal.show('Modal', {
|
MicroModal.show('Modal', {
|
||||||
awaitCloseAnimation: true,
|
awaitCloseAnimation: true,
|
||||||
awaitOpenAnimation: true,
|
awaitOpenAnimation: true,
|
||||||
|
disableFocus: true,
|
||||||
onShow: () => $('body').addClass('modal-open'),
|
onShow: () => $('body').addClass('modal-open'),
|
||||||
onClose: () => {
|
onClose: () => {
|
||||||
$('body').removeClass('modal-open');
|
$('body').removeClass('modal-open');
|
||||||
|
Reference in New Issue
Block a user