Skip to content
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

Fix tooltip flicker #195

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

jyaconelli
Copy link

closes #116

Issue

When a tooltip is initially rendered in a location on the screen without enough room, it flickers indefinitely.

Solution

proposed by @tailorem in #116 (comment)
The tooltip will only update contentSize when the new size is larger than the previous. This fixes the flickering issue.

@DanUnited
Copy link

There is a problem with this solution:
When the tooltip contains only one small string (Text), the width and height of the tooltip container are too big and may not be reduced.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

After misrender tooltip keeps flicking on screen
2 participants