mirror of
https://github.com/humhub/humhub.git
synced 2025-01-29 04:17:39 +01:00
Fix: Automatic scroll to top after Modal loading
Fix: Disable body scroll if modal is open.
This commit is contained in:
parent
2a30b3d0b9
commit
0f00da0e11
@ -429,6 +429,7 @@ humhub.module('ui.modal', function (module, require, $) {
|
||||
this.$.find('input[type="text"]:visible, textarea:visible, [contenteditable="true"]:visible').first().focus();
|
||||
this.checkAriaLabel();
|
||||
this.updateDialogOptions();
|
||||
this.$.scrollTop(0);
|
||||
return this;
|
||||
};
|
||||
|
||||
|
@ -62,4 +62,8 @@ input[type=select] {
|
||||
|
||||
.langSwitcher {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
[data-ui-show-more] {
|
||||
overflow:hidden;
|
||||
}
|
@ -14,7 +14,7 @@
|
||||
}
|
||||
|
||||
.modal-open {
|
||||
overflow: visible;
|
||||
//overflow: visible;
|
||||
}
|
||||
|
||||
.modal {
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user