Skip to content

fix(multiple): wrap ngDevMode check around afterRenderEffect in aria primitives#32717

Closed
OmerGronich wants to merge 1 commit intoangular:mainfrom
OmerGronich:fix-ngdevmode-aria-primitives
Closed

fix(multiple): wrap ngDevMode check around afterRenderEffect in aria primitives#32717
OmerGronich wants to merge 1 commit intoangular:mainfrom
OmerGronich:fix-ngdevmode-aria-primitives

Conversation

@OmerGronich
Copy link
Copy Markdown

@OmerGronich OmerGronich commented Jan 28, 2026

Summary

  • Move the ngDevMode check outside of afterRenderEffect in aria/listbox and aria/toolbar
  • This ensures the effect is not registered at all in production, rather than registering an effect that does nothing

Follow-up to feedback from #32663

🤖 Generated with Claude Code

@google-cla
Copy link
Copy Markdown

google-cla Bot commented Jan 28, 2026

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

…primitives

Moving the ngDevMode check outside of afterRenderEffect ensures the
effect is not registered at all in production, rather than registering
an effect that does nothing.

Affected packages: aria/listbox, aria/toolbar
@angular-robot
Copy link
Copy Markdown
Contributor

angular-robot Bot commented Apr 17, 2026

This draft PR is being closed because it has been stale for 28 days and has seen no activity from you. If you'd like to see this change land, you can re-open this PR. Thank you for being an Angular contributor!

@angular-robot angular-robot Bot closed this Apr 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant