Button: Radio button & checkboxes ignore mouseclicks for minor mouse movements
|Reported by:||larsch||Owned by:|
Between 1.6.13 and 1.6.14, a guard was added to radio button and checkboxes that causes them to ignore clicks if the mouse is moved between pressing and releasing the button (ticket #6970, change https://github.com/eikes/jquery-ui/commit/16ecdccc4bd59e7f03b8fc033eb3b9f1130aad2c). This violates usability on platforms that normally tolerate a few pixels of mouse movements between pressing and releasing, while still counting it as a click, not a drag.
On Windows, in both Chrome and Firefox, the default behaviour is to not count it as "dragging" before the mouse has moved at least 4 pixels. Anything less, and it's still a click. jquery-ui-1.8.14 and forward breaks this behaviour.
IMHO, it's a rather severe usability issue to break click-drag tolerance.
Can be reproduced in any demo of radiobuttons and checkboxes.
- Hover mouse over checkbox
- Press left mouse button
- Move mouse one pixel
- Release mouse button
Change History (25)
comment:7 Changed 4 years ago by bchiasson
- Status changed from new to open
- Summary changed from Radio button & checkboxes ignore mouseclicks to Button: Radio button & checkboxes ignore mouseclicks for minor mouse movements
comment:20 Changed 3 years ago by Fabrício Matté
- Resolution set to fixed
- Status changed from open to closed