Skip to content

Fix nested popover closing PreviewTrigger on hover - #10484

Open
HamedFarazi wants to merge 5 commits into
adobe:mainfrom
HamedFarazi:fix-nested-previewtrigger-popover
Open

Fix nested popover closing PreviewTrigger on hover#10484
HamedFarazi wants to merge 5 commits into
adobe:mainfrom
HamedFarazi:fix-nested-previewtrigger-popover

Conversation

@HamedFarazi

@HamedFarazi HamedFarazi commented Aug 20, 2026

Copy link
Copy Markdown

Closes #10443

Summary

Fixes an issue where a nested Popover opened from inside a PreviewTrigger popover caused the parent PreviewTrigger popover to close when moving the pointer into the nested overlay.

The issue happened because the nested overlay is rendered outside of the PreviewTrigger popover boundary, causing the hover interaction to be interpreted as leaving the preview area.

This change adds regression coverage for nested overlays inside PreviewTrigger and ensures the parent preview remains open while interacting with child overlays.

✅ Pull Request Checklist:

📝 Test Instructions:

Automated tests

Run:

yarn jest packages/react-aria-components/test/PreviewTrigger.test.js

## 🧢 Your Project:
N/A

@github-actions github-actions Bot added the RAC label Aug 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Nested Popover closes PreviewTrigger when hovered

1 participant