Repository navigation
[popover] Remove stray focus guards around trigger when modal - #4350
Conversation
commit: |
Bundle size report
Check out the code infra dashboard for more information about this PR. |
✅ Deploy Preview for base-ui ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
4b21b8c to
558cf97
Compare
Codex ReviewOverviewThis patch makes Popover use the same focus-management decision in both the popup and the trigger, so Findings (None)No blocking issues found in this patch. Confidence: 4/5High confidence based on a full pass over the branch diff, a second sweep for React/rendering correctness, accessibility and keyboard behavior, API/state consistency, maintainability, performance risk, and test coverage, plus targeted verification with Notes
|
modal
Summary
This change keeps trigger-side focus guards out of fully trapped modal popovers while preserving the existing tab handoff path when
modal={true}is used without a close part.Changes
PopoverPopupandPopoverTrigger.