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
I've noticed that when using Firefox, text is getting selected when an item is dragged over top of one or more other items. It seems to be that this happens if the initial click is in the text portion of an element (but not if the initial click is in the padding or margin).
The text was updated successfully, but these errors were encountered:
I did some more digging into this. The example items have a user-select: none; CSS attribute applied, which Chrome is picking up but Firefox isn't. Adding vendor-specific prefixes for user-select fixes this:
Good call @johnfraney, I'll push an update to the CSS! I also seem to recall being able to avoid text highlighting with a special combo of event.preventDefault(). I think I might be able to prevent this on the javascript end so you don't have to add user-select: none to your own CSS and possibly prevent people from highlighting when they actually want to.
I've noticed that when using Firefox, text is getting selected when an item is dragged over top of one or more other items. It seems to be that this happens if the initial click is in the text portion of an element (but not if the initial click is in the padding or margin).
The text was updated successfully, but these errors were encountered: