-
-
Notifications
You must be signed in to change notification settings - Fork 329
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] Introducing "overlay fullscreen modal" #526
[Modal] Introducing "overlay fullscreen modal" #526
Conversation
…o legacy, because scrollbar was also appearing on mobile. Also fixed base to 100vh
Maybe this should be |
@hammy2899 Mmh, don't think so. But that would also mean to add more css to the code because it currently relies on many fullscreen settings already there which we would need to double or at least add |
Ok, after research there are only 4 css settings... So if everybody wants to change the name, I am fine 😊 |
@fomantic/core |
For me Additionally Wikipedia defines a modal as following:
Maybe we could use a word like |
@ColinFrick that makes sense, I think |
The |
Doesn't this feature |
I think I think adding As for |
Ok, then let's use @ColinFrick @prudho Agree? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lubber-de agreed !
LGTM
Changed the code and PR description/screenshots/fiddle accordingly |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description
The current
fullscreen
modal was (according to the docs) supposed to "use the entire size of the screen". This was not really true, because there still was lots of margin left, so you could see the dimmer, and also modals with little content were not even close to fullscreen.This PR makes it possible now and adds a new variant to the modal module:
overlay fullscreen modal
When used, it is now really using and overlaying the entire viewport, regardless of the content. 🙂
Testcase
https://jsfiddle.net/sbru45e1/
Screenshot
Closes
#522