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

documentElement scroll behavior not reset on drawer close #373

Open
a-d8a opened this issue Jun 4, 2024 · 0 comments
Open

documentElement scroll behavior not reset on drawer close #373

a-d8a opened this issue Jun 4, 2024 · 0 comments

Comments

@a-d8a
Copy link

a-d8a commented Jun 4, 2024

Steps to reproduce

  1. Go to https://vaul.emilkowal.ski/
  2. Open drawer and then close it
  3. Look at the html tag styles, scroll-behavior is still set to auto
    image

Seems it happens due to this commented line

// reset(document.documentElement, 'scrollBehavior');

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

No branches or pull requests

1 participant