Skip to content

htmlOpenClassName overflow:hidden; causes page to scroll to top when opening modal #916

Open
@amol0900

Description

@amol0900

To prevent background scrolling when the modal is open I used htmlOpenClassName to add overflow: hidden; which is the only solution that worked, but unfortunately this causes the page to scroll to the top when opening modals. Anyone else with the same issue?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions