Skip to content

positioning the component in containers that have overflow: scroll; #810

@ksmth

Description

@ksmth

I recently ran into this issue when using react-select components in a modal. For mobile the contents of the modal are scrollable. In this particular case, the Select was at the bottom of the content. Activating the Select made the container overflow and scrollable.

Maybe the container notion of http://react-bootstrap.github.io/react-overlays/examples/ might make sense?
Alternatively, maybe make use of https://github.com/souporserious/react-tether?

Metadata

Metadata

Assignees

No one assigned

    Labels

    pr/needs-reviewPRs that need to be reviewed to determine outcome

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions