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] Delay seems to be ignored #1404

Open
elieven opened this issue Feb 1, 2025 · 1 comment · May be fixed by #1416
Open

[tooltip] Delay seems to be ignored #1404

elieven opened this issue Feb 1, 2025 · 1 comment · May be fixed by #1416
Labels
bug 🐛 Something doesn't work component: tooltip This is the name of the generic UI component, not the React module! has workaround

Comments

@elieven
Copy link

elieven commented Feb 1, 2025

Bug report

Current behavior

Go here and see that delay is ignored. I wanted to make tooltips that instantly show but the option is ignored. Got it working once somehow to 10 seconds but 0 or 1ms never worked.

Provide a clear and concise description of the current behavior you're experiencing. If applicable, provide screenshots and/or videos.

Expected behavior

Tooltip should respect the delay setting.

Reproducible example

Link to a CodeSandbox, StackBlitz, or other IDE.

Base UI version

1.0.0-alpha5

Which browser are you using?

Brave/chrome

Which OS are you using?

Windows

Which assistive tech are you using (if applicable)?

Additional context

Provide any additional context that might help us identify the problem and find a solution.

@github-actions github-actions bot added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Feb 1, 2025
@atomiks atomiks removed the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Feb 3, 2025
@atomiks
Copy link
Contributor

atomiks commented Feb 3, 2025

Hi @elieven, it doesn't seem like you've linked the correct Sandbox. Checking delay props myself, it looks like delay={0} on Tooltip.Provider does incorrectly get ignored, but delay={1} works. On each individual Tooltip.Root, delay={0} works however.

@zannager zannager added the component: tooltip This is the name of the generic UI component, not the React module! label Feb 3, 2025
@atomiks atomiks linked a pull request Feb 5, 2025 that will close this issue
@mj12albert mj12albert added the bug 🐛 Something doesn't work label Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work component: tooltip This is the name of the generic UI component, not the React module! has workaround
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants