-
-
Notifications
You must be signed in to change notification settings - Fork 79k
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
Add Full-Screen size to Modal and Responsive variations for breakpoints #28683
Conversation
Yu @GeoSot, Nice to see you getting involved in Bootstrap! I've readded the netlify preview in your (you can get the link in the PR tests). Try not to reopen too many PR's for the same feature, we can miss some essential information sometimes. I noticed there's a spacing at the right side of the screen, could you fix that? |
@MartijnCuppens you are right about the two PR's. (I 've messed up the commits and wanted a clear solution) As for the padding on the right, I saw that it is done from js. |
Hmmm, I can't think of another better solution right now. Maybe @ysds knows a better way of handling this? |
I’ll take a look later :) |
As far as looked through that, I felt three things:
|
@MartijnCuppens I have made some changes and fixes according to the previous suggestions. As for the className, i am open to suggestions |
There's something else. We use a mobile-first approach in Bootstrap, which uses |
I have changed the class name. As for the mobile first approach thing, the purpose is to have a Full Screen modal on mobile , till the chosen breakpoint. So I am not sure if it needs any change |
883b677
to
1699065
Compare
@GeoSot something seems broken. Also please squash your patches into one after rebasing against upstream. |
26c3a0a
to
1ec980b
Compare
@XhmikosR can I do something more in order to help this pull-request to proceed? |
Trying this out myself, I don't think the fullscreen modal should "drop in" like the other modals—gives it a weird looking animation. Thoughts on revisiting that part? |
Maybe if we omit the 'fade' class. Or try another transition??? |
I would keep the fade effect. Maybe we split the fade effect and the slide-in effect into 2 classes? Better cover this in another PR then because all modal classes. |
So, what you propose me to do? |
1ec980b
to
66120af
Compare
Sounds fine by me! |
I added changes:
|
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, but need another approval from @twbs/css-review
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.
I've added border radii resets to the footer and header, just in case a background color is added. Thanks all for contributing to feature! ❤️
@XhmikosR, how are we gonna merge this? Squash it into one commit? |
This should probably me manually rebased and squash the patches per author. |
Unless you guys don't mind squashing everything into one when merging (with a clean commit message, though) |
I personally don't care. We could maybe add Co-authors in the commit message:
|
0573950
to
44b760f
Compare
(Works from breakpoint and down)
44b760f
to
c6c5612
Compare
c6c5612
to
dc1f7cf
Compare
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.
All looks good to me 👍
Add Full-Screen size to Modal and Responsive variations for breakpoints
Works from breakpoint and down
( @MartijnCuppens , please ignore my previous pull request)
Preview: https://deploy-preview-28683--twbs-bootstrap.netlify.com/docs/4.3/components/modal/#fullscreen-modal
Previous PR: #28682