Skip to content

Conversation

@sean-perkins
Copy link
Contributor

Pull request checklist

Please check if your PR fulfills the following requirements:

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been reviewed and added / updated if needed (for bug fixes / features)
    • Some docs updates need to be made in the ionic-docs repo, in a separate PR. See the contributing guide for details.
  • Build (npm run build) was run locally and any changes were pushed
  • Lint (npm run lint) has passed locally and any fixes were made for failures

Pull request type

Please check the type of change your PR introduces:

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes
  • Other (please describe): Refactor, but changes the functional behavior to only emit for the lazy build.

What is the current behavior?

ionMount is emitted for CE build and lazy build.

Issue URL: Internal

What is the new behavior?

  • ionMount is only emitted for the lazy build (is only needed in Angular due to the conditionally mounting the overlay content with Angular templates).

Does this introduce a breaking change?

  • Yes
  • No

Other information

@sean-perkins sean-perkins requested a review from a team as a code owner November 16, 2022 16:22
@github-actions github-actions bot added the package: core @ionic/core package label Nov 16, 2022
* ionMount only needs to be emitted if the popover is inline.
*/
this.ionMount.emit();
if (lazyBuild) {
Copy link
Contributor

Choose a reason for hiding this comment

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

The tech debt ticket also mentions wrapping the await waitOneFrame (below the ionMount emit) in this check; was that skipped intentionally?

@sean-perkins
Copy link
Contributor Author

Closing this PR as it was discovered that the linked issue to this PR: #26306 requires this infrastructure, which applies to CE builds.

@sean-perkins sean-perkins deleted the FW-2773 branch November 16, 2022 19:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

package: core @ionic/core package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants