You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Inconsistent selectstart event timing and prevention capability #355
Fired when mouse moves starting a selection range.
I'm not sure if the selectstart specification clearly indicates one behavior is correct. Regardless though, given we don't have consistency we can probably go either way. One implication of the difference is that on browsers which fire on mousedown if you call preventDefault:
you can prevent your previous selection from changing, and
you can prevent inserting a cursor into a contenteditable from succeeding.
Activity