Skip to content

Conversation

sean-perkins
Copy link
Contributor

Issue number: Internal


What is the current behavior?

The AnimationController does not use the correct underlying instance of the utilities from either the lazy or custom elements build, depending on if the developer is using @ionic/angular or @ionic/angular/standalone. It will always use the lazy instance.

What is the new behavior?

  • AnimationController uses the instance of the utilities based on it's implementation type, e.g. @ionic/angular/standalone uses the custom elements build with the utilities from @ionic/core/components.
  • @ionic/angular and @ionic/angular/standalone now export their own specific implementation of AnimationController

Does this introduce a breaking change?

  • Yes
  • No

Ionic was re-exporting the AnimationController from both @ionic/angular and @ionic/angular/standalone entry points. Developers will not need to update their implementations or change import paths to take advantage of this change.

Other information

@github-actions github-actions bot added the package: angular @ionic/angular package label Nov 6, 2023
@sean-perkins sean-perkins changed the title chore(angular): animation controller uses correct core instance refactor(angular): animation controller uses correct core instance Nov 6, 2023
@sean-perkins sean-perkins marked this pull request as ready for review November 6, 2023 19:23
@sean-perkins sean-perkins requested a review from thetaPC as a code owner November 6, 2023 19:23
Copy link
Contributor

@thetaPC thetaPC left a comment

Choose a reason for hiding this comment

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

LGTM

@sean-perkins sean-perkins added this pull request to the merge queue Nov 10, 2023
Merged via the queue into main with commit fbc9f53 Nov 10, 2023
@sean-perkins sean-perkins deleted the sp/FW-5484 branch November 10, 2023 01:00
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.

2 participants