Fix tooltips blocking clicks after hide#21
Merged
Conversation
- Introduce a timeout mechanism to hide tooltips after a fade-out transition, ensuring closed tooltips do not block interactions. - Update CSS to manage pointer events, allowing tooltips to be non-interactive when hidden and interactive when visible. - Add tests to verify the new hiding behavior and ensure tooltips are correctly shown and hidden based on user interactions.
- Introduce a new visual test to verify that tooltips do not block clicks on underlying elements after they are hidden. - Update tooltip preview files to include a new method for testing this behavior. - Refactor existing HTML templates to improve consistency and styling across tooltip previews.
ChrisHuynh333
approved these changes
Apr 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do and why?
Tooltips were fading out visually but could still intercept pointer events, which meant “closed” tooltips could block clicks/hover on underlying UI. Added a lookbook preview at the bottom of the Tooltips that allows you to test to make sure this is working.
This PR:
Screenshots or screen recordings
N/A
How to set up and validate locally
fix/pathogen-tooltips-overlap.pnpm install.pnpm test:unit(orpnpm test).PR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.