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

tooltip flickers in top left while moving from point to point #8532

Closed
linear bot opened this issue May 10, 2024 · 2 comments
Closed

tooltip flickers in top left while moving from point to point #8532

linear bot opened this issue May 10, 2024 · 2 comments

Comments

@linear
Copy link

linear bot commented May 10, 2024

No description provided.

Copy link
Author

linear bot commented May 10, 2024

Copy link

greptile-apps bot commented May 10, 2024

The flickering issue might be related to the asynchronous update of the tooltip's position. In Tooltip.tsx, the positioning is managed by Ariakit's useTooltipStore with a placement of 'top' and an optional delay controlled by delayed ? STANDARD_DELAY : 0. Consider investigating how the tooltip's position is recalculated on movement and if the asynchronous update of position causes the flicker. Specifically, look into the Ariakit.Tooltip component's store prop usage and how the placement and timeout settings in tooltipStore are applied. Adjusting the timeout or managing the update cycle more smoothly might help mitigate the flickering.

References

/packages/ui/src/components/Tooltip/Tooltip.tsx

Ask Greptile

@linear linear bot closed this as completed May 16, 2024
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

No branches or pull requests

0 participants