Changes between Initial Version and Version 1 of Ticket #7665, comment 11


Ignore:
Timestamp:
Nov 28, 2012, 10:20:24 PM (8 years ago)
Author:
Ult Combo
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7665, comment 11

    initial v1  
    11Did some work on this, and after removing the lines from #6970's bug fix which are now unnecessary with the #5518 fix, you can drag a satisfactory amount of pixels in Chrome while clicking.
    22
    3 The problem is Firefox, as we're using a label element to forward/proxy the clicks to the `input` elements, Firefox's behavior will not toggle a checkbox if the mouse is moved more than 2-4px while clicking on a label. [http://jsfiddle.net/yrB8h/ Demonstration].
     3The problem is Firefox, as we're using a label element to forward/proxy the clicks to the `input` elements, Firefox's behavior will not toggle a checkbox if the mouse is moved more than 2-4px while clicking on a label. [http://jsfiddle.net/yrB8h/1/ Demonstration].
    44
    55Not sure whether we can leave it like that or simulate the click with `mousedown`/`mouseup` handlers to attain a sturdy cross-browser behavior. The issue with using `mousedown`/`mouseup` handlers then would be: