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
If I have <Tappable otherThings... onMouseOut={callback}/>, the callback will never be fired on mouse out, because !this._mouseDown is false. I think this is unexpected no?
The text was updated successfully, but these errors were encountered:
Can confirm this is an issue. I was able to work around it by adding the onMouseOut event to a child component of Tappable but that isn't a nice solution, and straight up won't work for a lot of use cases.
onMouseOut should fire whether the mouse is currently down or not. Is there a technical reason for the !this._mouseDown check?
Today's state of devices means that touch/mouse support is needed in unison, making this a pretty important issue imo.
source:
If I have
<Tappable otherThings... onMouseOut={callback}/>
, the callback will never be fired on mouse out, because!this._mouseDown
is false. I think this is unexpected no?The text was updated successfully, but these errors were encountered: