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

bug: When closing drawer in responsive dialog example elements on the screen are not longer interactable #1549

Open
ieedan opened this issue Dec 12, 2024 · 4 comments

Comments

@ieedan
Copy link
Contributor

ieedan commented Dec 12, 2024

Describe the bug

Opening this here because I'm' not sure where exactly it's going to belong.

When you resize the screen while the responsive dialog is open so that you go from using the dialog to the drawer, once you close the drawer any elements on the screen will not be clickable. It's almost like there's still an invisible overlay.

This doesn't happen when just using the drawer component alone since there is no transition between the two.

repro.mp4

Reproduction

https://next.shadcn-svelte.com/docs/components/drawer

Logs

N/A

System Info

N/A

Severity

annoyance

@shyakadavis
Copy link
Contributor

Well, proud to say that this issue isn't the case for Firefox. 😂

@ieedan
Copy link
Contributor Author

ieedan commented Dec 12, 2024

Well, proud to say that this issue isn't the case for Firefox. 😂

Must be a chromium thing then...

@huntabyte
Copy link
Owner

I believe I have a hunch as to why but it shouldn't be happening. Does the same occur when the deps (vaul and bits) are at their latest next?

@ieedan
Copy link
Contributor Author

ieedan commented Dec 12, 2024

Yes in my other projects using this they are updated to 1.0.0-next.3 and 1.0.0-next.71.

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

3 participants