This repository was archived by the owner on Oct 4, 2023. It is now read-only.
[C-608] Fix tooltip bugs#1701
Merged
Merged
Conversation
Collaborator
|
Preview this change https://demo.audius.co/rj-c-608 |
Collaborator
|
Preview this change https://demo.audius.co/rj-c-608 |
Kyle-Shanks
reviewed
Aug 12, 2022
|
|
||
| const onMouseOut = useCallback(() => { | ||
| mousedOver.current = false | ||
| setIsHidden(false) |
Contributor
There was a problem hiding this comment.
should this be hiding the tooltip or un-hiding it?
Member
Author
There was a problem hiding this comment.
this is setting the overriding hidden state to false, which is different from actually hiding it. I can rename the state var to make it more understandable
Collaborator
|
Preview this change https://demo.audius.co/rj-c-608 |
Kyle-Shanks
approved these changes
Aug 13, 2022
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Fix tooltip bugs. There were kind of a few things that were causing jankiness, primarily the timeout though, which is a blunt weapon to handle this kinda stuff. This is why I kinda dislike antd... Have to learn about the internals a little bit to get the behavior.
Dragons
Is there anything the reviewer should be on the lookout for? Are there any dangerous changes?
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide repro instructions & any configuration.
Focused on 3 places
How will this change be monitored?
For features that are critical or could fail silently please describe the monitoring/alerting being added.
Feature Flags
Are all new features properly feature flagged? Describe added feature flags.