-
-
Notifications
You must be signed in to change notification settings - Fork 336
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Modal] Fullscreen modals are not working in IE11 #134
Comments
This fix works as long as the content of the modal does not exceed the screen height. If that's the case, the top of the modal is stuck at 50% |
@lubber-de Thanks for the feedback. I will check it out |
@lubber-de I added another commit to fix the IE11 scrolling modal issue: c4eed66 |
Top position is fixed with your commit, but the left value is still ignored when content is larger than screen (see first screenshot above where the height was still wrong -> its also attached to the left border. It seems to be fixed by adding margin-left:0 and again left: 2.5% (additional fix for #135 also then) .ui.legacy.legacy.page.dimmer > .ui.scrolling.modal,
.ui.page.dimmer > .ui.scrolling.legacy.legacy.modal,
.ui.top.aligned.legacy.legacy.page.dimmer > .ui.modal,
.ui.top.aligned.dimmer > .ui.legacy.legacy.modal {
top: auto !important;
margin-left:0 !important;
left: 2.5% !important;
} |
This would interfere with the whole legacy modal thing introduced in SUI 2.4.0. |
I did some further digging and this bug affects all
While retrieving the modals width the scrollbar is not rendered, therefore it returns a larger width than it should - in this cases the modal is half the scrollbars width further to the left. I'm inclined to close this issue and move the discussed issue in another one. The original issue (and your addition with the top issue) should be fixed. |
Agreed, thanks for investigation! |
Original issue: Semantic-Org/Semantic-UI#6597
The text was updated successfully, but these errors were encountered: