Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When modal closes, the scroll position changes. #515

Open
dungle-scrubs opened this issue Jan 28, 2023 · 0 comments
Open

When modal closes, the scroll position changes. #515

dungle-scrubs opened this issue Jan 28, 2023 · 0 comments
Labels

Comments

@dungle-scrubs
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant