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
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
Sorry I don't have a reproduction yet