Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Dialog / Select: overflow: hidden on body doesn't prevent scroll on iOSΒ #2263

Closed
@kfranqueiro

Description

(Split from #2246)

What browser(s) is this bug affecting?

TODO: need to nail down exact Safari or WebView versions

What OS are you using?

iOS

What are the steps to reproduce the bug?

Load the select demo page and open one of the selects, then tap+drag to scroll

What is the expected behavior?

The body shouldn't scroll behind the open select

What is the actual behavior?

The body does scroll

Any other information you believe would be useful?

When the select menu is open, we set a class on the body that sets overflow: hidden. We do something similar for dialog, so I presume the same thing would happen in that demo as well (if there's enough on the page to scroll).

Metadata

Assignees

No one assigned

    Labels

    Unresolved (Archived)Open and unresolved issues and PRs that were closed due to archiving the repository.backlog

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions