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

Please make modals scroll smoothly on iOS by default. #11669

Closed
mmilo opened this issue Dec 2, 2013 · 2 comments
Closed

Please make modals scroll smoothly on iOS by default. #11669

mmilo opened this issue Dec 2, 2013 · 2 comments
Labels

Comments

@mmilo
Copy link

mmilo commented Dec 2, 2013

Modals in Bootstrap use overflow scrolling which is very janky on iOS if you’re used to native rubber band scrolling.

Adding -webkit-overflow-scrolling: touch; to the .modal selector gives you silky smooth scrolling back again. I believe this should be default behaviour, and perhaps configurable via variables.

@mdo
Copy link
Member

mdo commented Dec 2, 2013

Problem is (and you should be able to find this by search) that if we add it, any page with a textarea breaks the tap status bar to return to top. I'm unsure we want to make the trade-off.

@mmilo
Copy link
Author

mmilo commented Dec 2, 2013

Yeah I think having the ability to scroll around faster generally is better than just being able to scroll to the top quickly. It should still likely be something that is configurable though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants