quartz
quartz copied to clipboard
Prevent Clicks In Quick Succession (Double Clicks)
I was recently viewing a quartz site on another device which had a faulty mouse that occasionally double clicked, resulting in often not being able to open a folder in the explorer sidebar, because the folders were immediately closed again.
All in all this behavior is as expected, but on many other websites this is not a problem. My guess to as why, is that they have some cooldown in place, on every clickable element, blocking it from being clicked again in something like 0.1 sec or probably even less time.
The only concern I would have, is that people that quickly click themselves through the page would have a worse experience because a click might occasionally not register. Or people that open some section by accident and then immediately click it again to close it.
I just wanted to put this out there, but if one of you finds this not a good idea, then just close this issue again.