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

iOS 7-10 Safari: Long select options with flexbox parent overflow the page #68

Open
slavanga opened this issue Mar 5, 2016 · 1 comment

Comments

@slavanga
Copy link

slavanga commented Mar 5, 2016

Summary:

Select options behave differently if the select element is a flex item. Long text in options will make the page overflow for no reason.

Platforms:

iOS Safari 7 - 10

How to reproduce:

  1. Load the example
  2. Swipe to the right

Reduced Example:

https://jsfiddle.net/zj1n06fp/6/

Workarounds:

Add overflow-x: hidden on the select element.

slavanga added a commit to slavanga/baseguide that referenced this issue Mar 13, 2016
@slavanga slavanga changed the title iOS 7-9 Safari: Long select options with flexbox parent overflow the page iOS 7-10 Safari: Long select options with flexbox parent overflow the page Oct 8, 2016
@nicbou
Copy link

nicbou commented Jul 14, 2022

I can't believe that the fix what this easy. Thank you for taking the time to write this issue. I can confirm that it still works as of July 14, 2022.

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

No branches or pull requests

2 participants