Skip to content

Screen Glitch When Close Modal #495

@mrardyan

Description

@mrardyan

Bug report

Describe the bug

When closing the modal an unexpected page glitch/blinking screen occurs. The modal still could close completely after that.

To Reproduce

Take action to close the modal either by clicking modal's close button, ESC, or custom button inside modal that calls the close function.

Expected behavior

Modal closes smoothly without any odd blinks.

Screenshots

Screen.Recording.2022-05-11.at.20.22.05.mov

System information

  • Version of react-responsive-modal: ^6.2.0
  • Version of react: 18.1.0
  • Version of next: 12.1.6
  • Version of react-dom": 18.1.0
  • Browser version: Chrome 101.0.4951.54 (Official Build) (arm64), Safari 15.4 (17613.1.17.1.13)

Additional context

This case happens on my web page here. You can clicking the kebab menu (three dots icon) at the top right page to show the modal and then click "Cancel" to close it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions