cocopon / tweakpane

:control_knobs: Compact GUI for fine-tuning parameters and monitoring value changes
https://tweakpane.github.io/docs/
MIT License
3.52k stars 87 forks source link

Issue with text selection on quick clicks in toggle box or space area #545

Closed ZRNOF closed 8 months ago

ZRNOF commented 1 year ago

Hi,

I'm using Tweakpane library in my project, and I've noticed that there's an issue with quick clicks on the Tweakpane toggle box causing text selection. When I quickly click on the toggle box, sometimes the text gets selected.

圖片

I use preventDefault() to solve this.

Btw, Tweakpane is my fav gui that I've found. Thank you for your amazing work.

Thanks, Zaron

cocopon commented 8 months ago

Fixed in #592. Thank you for reporting the issue.

cocopon commented 8 months ago

Released 4.0.3.