shoelace-style/shoelace
View on GitHubCarousel keyboard scrolling is "lagging" on chrome
Open
#2,265 opened on Nov 9, 2024
bughelp wanted
Repository metrics
- Stars
- (13,867 stars)
- PR merge metrics
- (No merged PRs in 30d)
Description
Describe the bug
When using Chrome, using the keyboard arrows to change images in a carousel is slow and lead to visual lags. Holding the arrow key generate severe "lag" Doing the same on Safari feels better (snappier).
I don't think it's due to performance, most likely the way some event re-fire.
To Reproduce
Steps to reproduce the behavior:
- Go to the carousel page
- Click on the image
- Press and hold the right arrow key
Repeatedly pressing the arrow key in quick succession also generate some "lag".
Screenshots
https://github.com/user-attachments/assets/6295ede5-2ae0-4d94-9a8e-443dcafdcde4
Browser / OS
- OS: Mac (ARM)
- Browser: Chrome
- Browser version: 130.0.6723.70
Additional information
Provide any additional information about the bug here.