Skip to content
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

Fix centered modal scrolling issue #30244

Merged
merged 3 commits into from Feb 29, 2020
Merged

Conversation

ysds
Copy link
Member

@ysds ysds commented Feb 19, 2020

Another solution of #30003.

You can see the issue in the vertical modal demo. This behavior occurs when the browser UI (address bar) is displayed.

ezgif com-optimize

This PR fix it by using the min-content property.

Preview: https://deploy-preview-30244--twbs-bootstrap.netlify.com/docs/4.3/components/modal/#vertically-centered

@ysds ysds requested a review from a team as a code owner February 19, 2020 14:34
@ysds ysds added this to Inbox in v5 via automation Feb 19, 2020
@ysds ysds added this to Inbox in v4.5.0 via automation Feb 19, 2020
@ysds ysds moved this from Inbox to Review in v5 Feb 19, 2020
@zizoclimbs
Copy link

I like your solution @ysds , Its more better and simple. Thanks 👍

v5 automation moved this from Review to Approved Feb 24, 2020
@XhmikosR XhmikosR merged commit 40ac139 into master Feb 29, 2020
v5 automation moved this from Approved to Shipped Feb 29, 2020
@XhmikosR XhmikosR deleted the master-ysds-modal-scrolling-issue branch February 29, 2020 07:59
XhmikosR pushed a commit that referenced this pull request Mar 4, 2020
Use the `min-content` property.
@XhmikosR XhmikosR moved this from Inbox to Cherry-picked in v4.5.0 Mar 4, 2020
XhmikosR pushed a commit that referenced this pull request Mar 9, 2020
Use the `min-content` property.
@XhmikosR XhmikosR moved this from Cherry-picked to Shipped in v4.5.0 Mar 9, 2020
olsza pushed a commit to olsza/bootstrap that referenced this pull request Oct 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
v4.5.0
  
Shipped
v5
  
Shipped
Development

Successfully merging this pull request may close these issues.

None yet

4 participants