Skip to content

fix(Tooltip): tooltip will open only if the mouse remains on it and no longer overlap with other tooltips #2862

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

Merged
merged 2 commits into from
Apr 19, 2024

Conversation

Licen-it
Copy link
Contributor

Closes #2809

Tooltip will now only open if the timeout actually completes, which means only when the mouse is hovering the element without leaving before the tooltip appears

Changelog

Changed

  • resetting the timeouts set on mouseenter and mouseleave before setting new ones to achieve what described above

…and no longer overlapping with other tooltips
@Licen-it Licen-it requested a review from a team as a code owner April 19, 2024 15:19
Copy link

netlify bot commented Apr 19, 2024

Deploy Preview for carbon-components-angular ready!

Name Link
🔨 Latest commit 2130c9c
🔍 Latest deploy log https://app.netlify.com/sites/carbon-components-angular/deploys/6622b00c36d7030008c18744
😎 Deploy Preview https://deploy-preview-2862--carbon-components-angular.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@Akshat55 Akshat55 changed the title fix(Tooltip): tooltip is now opening only if the mouse remains on it and no longer overlapping with other tooltips fix(Tooltip): tooltip will open only if the mouse remains on it and no longer overlap with other tooltips Apr 19, 2024
@zvonimirfras zvonimirfras merged commit 8ff0322 into carbon-design-system:master Apr 19, 2024
Copy link

🎉 This PR is included in version 5.24.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

[BUG] Tooltip popover overlay other tooltip, enter and leave delays not working correctly
3 participants