Skip to content

Conversation

@mddragnev
Copy link
Member

@mddragnev mddragnev commented Nov 21, 2024

Closes #15081

Additional information (check all that apply):

  • Bug fix
  • New functionality
  • Documentation
  • Demos
  • CI/CD

Checklist:

  • All relevant tags have been applied to this PR
  • This PR includes unit tests covering all the new code (test guidelines)
  • This PR includes API docs for newly added methods/properties (api docs guidelines)
  • This PR includes feature/README.MD updates for the feature docs
  • This PR includes general feature table updates in the root README.MD
  • This PR includes CHANGELOG.MD updates for newly added functionality
  • This PR contains breaking changes
  • This PR includes ng update migrations for the breaking changes (migrations guidelines)
  • This PR includes behavioral changes and the feature specification has been updated with them
this._innerPlayer = innerRenderer.engine.players[innerRenderer.engine.players.length - 1];
const rendererEngine = innerRenderer.engine || innerRenderer.delegate.engine;
// A workaround because of Angular SSR is using some delegation.
this._innerPlayer = rendererEngine.players[rendererEngine.players.length - 1];
Copy link
Member

Choose a reason for hiding this comment

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

Yeah, anything after accessing the internal _renderer can fail at any point. @wnvko it does seem like the referenced issue is resolved, how about we check if this can be removed entirely.

@damyanpetev damyanpetev changed the title fix(*): Fix resize observe and animation player errors when using Ang… fix(ssr): resize observe and animation player errors Nov 22, 2024
@damyanpetev damyanpetev added squash-merge Merge PR with "Squash and Merge" option version: 19.0.x labels Nov 22, 2024
@simeonoff simeonoff merged commit c19cc0e into master Nov 22, 2024
5 checks passed
@simeonoff simeonoff deleted the mdragnev/fix-angular-ssr branch November 22, 2024 12:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

angular: ssr squash-merge Merge PR with "Squash and Merge" option version: 19.0.x

6 participants