Skip to content

fix(angular): overlays are defined when using standalone controllers - #28560

Merged
liamdebeasi merged 6 commits into
mainfrom
FW-5415
Nov 20, 2023
Merged

fix(angular): overlays are defined when using standalone controllers#28560
liamdebeasi merged 6 commits into
mainfrom
FW-5415

Conversation

@liamdebeasi

@liamdebeasi liamdebeasi commented Nov 20, 2023

Copy link
Copy Markdown
Contributor

Issue number: resolves #28385


What is the current behavior?

Overlay controllers do not register their respective overlays components. This results in the overlay not appearing.

What is the new behavior?

  • Each standalone overlay controller manually calls defineCustomElement for their respective overlay component to ensure the component is loaded/registered.

Does this introduce a breaking change?

  • Yes
  • No

Other information

Dev build: 7.5.6-dev.11700492285.1581ed02

@github-actions github-actions Bot added the package: angular @ionic/angular package label Nov 20, 2023
@liamdebeasi liamdebeasi changed the title Fw 5415 fix(angular): overlays are defined when using standalone controllers Nov 20, 2023
@liamdebeasi
liamdebeasi marked this pull request as ready for review November 20, 2023 15:06

@sean-perkins sean-perkins left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look good & tested against the reproduction in production mode and the overlays rendered correctly.

Nice work!

@liamdebeasi
liamdebeasi added this pull request to the merge queue Nov 20, 2023
Merged via the queue into main with commit 9453132 Nov 20, 2023
@liamdebeasi
liamdebeasi deleted the FW-5415 branch November 20, 2023 22:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

package: angular @ionic/angular package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: [v7.5] angular standalone overlays do not load in production build

2 participants