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
… or close it (#1099)
Fixes#1085
- isDragging was always set to true on itemMouseMove which prevented
onSelect from firing on even the slightest of mouse movements while
clicking
- Set isDragging to true only if the mouse moves at least 5 viewport
units in the X or Y direction between the mouseDown and mouseUp events
(attempted to get this value as close as possible to when the UI changes
to indicate dragging)
Description
When single clicking or double clicking on a folder, it sometimes fails to change the state of the folder between open and closed.
Steps to reproduce
Expected results
If the folder is open, the folder closes. If the folder is closed, the folder opens.
Actual results
Sometimes, the UI does not change.
Additional details and attachments
The bug seems to occur more frequently when the mouse is moving during the click.
The text was updated successfully, but these errors were encountered: