Skip to content

Modal causes scrollbar "flash" and layout shift on close in Chrome #743

@garyeung

Description

@garyeung

Description:

When interacting with modal components (such as the Reset Modal, or any modal
demonstrated in the Storybook) from @freecodecamp/ui within a desktop Chrome
browser, a brief "flash" of the main page's scrollbar occurs upon closing the
modal.

Related Issues:

Possible Workaround:

One potential workaround involves modifying the Dialog style and/or the
full-screen container element within the modal to explicitly set overflow:
hidden.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions