Skip to content

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

@slavanga

Description

@slavanga

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions