Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Overlay popover adjustments #32199

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
crisbeto merged 5 commits into angular:main from crisbeto:generic-overlay-popovers
Oct 29, 2025
Merged

Conversation

@crisbeto
Copy link
Member

@crisbeto crisbeto commented Oct 29, 2025

Follow-up to #32155 which includes the following changes:

  • Popover construction is now handled and configured at the overlay level, rather than the position strategy to reduce the code duplication we have between strategies.
  • Adds support for popovers in the global position strategy.
  • Updates the CDK dialog, select and timepicker to account for popovers.

The code for inserting the popovers ended up being identical between position strategies so these changes switch to handling it at the overlay level instead.
@crisbeto crisbeto requested a review from a team as a code owner October 29, 2025 09:23
@crisbeto crisbeto requested review from adolgachev and andrewseguin and removed request for a team October 29, 2025 09:23
@crisbeto crisbeto added merge: preserve commits When the PR is merged, a rebase and merge should be performed target: rc This PR is targeted for the next release-candidate labels Oct 29, 2025
@crisbeto crisbeto force-pushed the generic-overlay-popovers branch from 8597410 to 10b11a5 Compare October 29, 2025 09:31
...rategy
Updates the global position strategy to account for it being placed in a popover.
Updates the logic that sets `aria-hidden` on top-level elements to account for popovers.
Updates the select to account for the fact that when its overlay is rendered in a popover, the event bubbling order is different.
Updates the timepicker to account for the fact that the event bubbling will be different when we switch to using popovers.
@crisbeto crisbeto force-pushed the generic-overlay-popovers branch from 10b11a5 to a830a82 Compare October 29, 2025 10:00
@crisbeto crisbeto removed the request for review from adolgachev October 29, 2025 12:14
@crisbeto crisbeto added the action: merge The PR is ready for merge by the caretaker label Oct 29, 2025
@crisbeto crisbeto merged commit 9e8d631 into angular:main Oct 29, 2025
23 of 25 checks passed
Copy link
Member Author

This PR was merged into the repository. The changes were merged into the following branches:

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

Reviewers

@andrewseguin andrewseguin andrewseguin approved these changes

Assignees

No one assigned

Labels

action: merge The PR is ready for merge by the caretaker area: cdk/dialog area: cdk/overlay area: material/select area: material/timepicker merge: preserve commits When the PR is merged, a rebase and merge should be performed target: rc This PR is targeted for the next release-candidate

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /