react-responsive-modal icon indicating copy to clipboard operation
react-responsive-modal copied to clipboard

When modal closes, the scroll position changes.

Open dungle-scrubs opened this issue 1 year ago • 0 comments

Describe the bug

Upon closing a modal, specifically when you're already scrolled all the way to the top, the screen instantly shifts to a specific scroll distance from the top.

Expected behavior

I would expect no scroll to happen.

Screenshots

If applicable, add screenshots to help explain your problem.

System information

  • Version of react-responsive-modal: 6.4.1
  • Version of react: Preact 10.11.3
  • Browser version: The latest Safari and Chrome, but not the latest Firefox

Sorry I don't have a reproduction yet

dungle-scrubs avatar Jan 28 '23 02:01 dungle-scrubs