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

Drawer component error in Chrome (passive event listener) #2217

Closed
524c opened this issue Nov 6, 2023 · 1 comment · Fixed by #2220
Closed

Drawer component error in Chrome (passive event listener) #2217

524c opened this issue Nov 6, 2023 · 1 comment · Fixed by #2220
Labels
bug Something isn't working

Comments

@524c
Copy link

524c commented Nov 6, 2023

Current Behavior

I got this error trying using the Drawer component in latest Skeleton version 2.4.0, using Chrome v119.0.6045.105.

[Violation] Added non-passive event listener to a scroll-blocking 'touchstart' event. Consider marking event handler as 'passive' to make the page more responsive.
See https://www.chromestatus.com/feature/5745543795965952

Expected Behavior

No response

Steps To Reproduce

Open https://stackblitz.com/edit/sveltejs-kit-template-default-zkn5ux?file=src%2Froutes%2FCounter.svelte
Leave the console open, then click the open drawer button and the error will appear.

Link to Reproduction / Stackblitz

https://stackblitz.com/edit/sveltejs-kit-template-default-zkn5ux?file=src%2Froutes%2FCounter.svelte

@524c 524c added the bug Something isn't working label Nov 6, 2023
@524c
Copy link
Author

524c commented Nov 6, 2023

I saw a related issue in the Svelte repository sveltejs/svelte#2068

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant