4 ms·
When you click several times on a button, it selects the text.
by d0m 17y ago
When you click several times on a button, it selects the text.
- mattyb 17y agoWhen you click several times on a button... ...in rapid succession. Like all other text in a browser.
- jeff18 17y agoNot with the style -webkit-user-select:none; or equivalent.
- pak 17y agoIn jQuery UI 1.7.1, there was a function $.fn.disableSelection() that would toggle all the right browser-specific CSS and attributes so that text selection would be disabled. I would recommend that the author use it during the instantiation of these buttons...
- taitems 17y agoAs much as this isn't my problem, there are fixes that jQuery UI could implement such as native dblclick and special jQuery events such as triple click that could be used to stop text selection.