-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fixed tooltip shows up on Mobile Web while navigating the reports #2044
fixed tooltip shows up on Mobile Web while navigating the reports #2044
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looks good @parasharrajat, just some small requests on the comments and variable naming.
this.setState({isHovered}, isHovered ? this.props.onHoverIn : this.props.onHoverOut); | ||
} | ||
|
||
// we reset the Hover block in case touchmove was not first after touctstart |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you help me understand the race condition that can occur here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it is possible that the touchmove never fires.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, seems to work well. Thanks
Please review @roryabraham
Details
Blocked the hover events on the
Hoverable
component on touch events.Fixed Issues
Fixes #1490
#1632 (comment)
Tests
Open the App on any Mobile web platform and click on the names on the report title on the Home page. It should open the report and no tooltip should be shown.
Tested On
Screenshots
N/A
1616610966592.mp4