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

There is a flicker of the page when tooltip is hovered over #287

Open
2 tasks done
clye-cog opened this issue Jan 3, 2025 · 1 comment
Open
2 tasks done

There is a flicker of the page when tooltip is hovered over #287

clye-cog opened this issue Jan 3, 2025 · 1 comment
Labels
bug Something isn't working question Further information is requested

Comments

@clye-cog
Copy link

clye-cog commented Jan 3, 2025

Prerequisites

Describe the issue

Demo:
https://github.com/user-attachments/assets/95f12fe2-37ca-48be-824b-d9cbd2c30cea

Description:
There seems to be a flicker of the page on hover of the tooltip. Reproduced this at viewport 1048px onwards till about 2055px

What operating system(s) are you seeing the problem on?

macOS

What browser(s) are you seeing the problem on?

Chrome

Describe your frontend stack. What version of React and @govtechsg/sgds-react are you using? CSR or SSR?

2.7.4 Typescript Nextjs

@clye-cog clye-cog added the bug Something isn't working label Jan 3, 2025
@clukhei
Copy link
Collaborator

clukhei commented Jan 7, 2025

@clye-cog I can't replicate the flicker in our nextjs app. Could you provide a simple codesandbox of just the replication of the tooltip flickering during hover ?

Also your tooltip width seems to be above 200px, even though we set a max-width of 200px? Did you make any modifications to the tooltip? It will be helpful if u could paste your tooltip code here too.

@clukhei clukhei added the question Further information is requested label Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants