You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(core): observe only host hidden changes for popover visibility - #464
Popovers and tooltips now respond to visibility changes on their host element, opening when shown and closing when hidden. Popovers also respond to host visibility changes after reconnection.
Changes to a child’s visibility no longer trigger host popover behavior or reopen a dismissed tooltip. A popover hidden through its native behavior remains closed when a descendant’s visibility changes.
Included review availability: This review used your included allowance. Your plan provides up to 12 included reviews per hour; 11 remain after this review.
Walkthrough
The native popover controller now observes the host’s hidden attribute and opens or closes the popover based on that state. Tests cover host and descendant visibility changes, reconnection, and removal.
The controller observes changes to the host’s hidden attribute and opens or closes the popover when connected. Tests verify that descendant visibility changes do not alter the popover state, and that host visibility changes work after reconnection but not after removal.
NVIDIA/elements#438: Both changes address native popover visibility behavior.
Merge Risk: Minimal · up to 4251d
The visibility change is covered without an identified current-head defect.
Pre-merge checks: 4
Check name
Status
Explanation
Description Check
Check skipped - CodeRabbit’s high-level summary is enabled.
Title check
The title clearly and concisely describes the main change: limiting popover visibility observation to host hidden attribute changes.
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Finishing Touches
📝 Generate docstrings
Commit to this branch
Create a new PR
🧪 Generate unit tests (beta)
Commit to this branch
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Warning
Some tools did not complete. Review the errors below.
ESLint
If the error stems from missing dependencies, add them to the package.json file. For unrecoverable errors (e.g., due to private dependencies), disable the tool in the CodeRabbit configuration.
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
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.
Summary by CodeRabbit