Skip to content

fix(aria/combobox): error when popup is destroyed before first change detection - #33974

Open
lazerg wants to merge 1 commit into
angular:mainfrom
lazerg:fix/issue-33972-combobox-popup-destroy
Open

lazerg wants to merge 1 commit into
angular:mainfrom
lazerg:fix/issue-33972-combobox-popup-destroy

Conversation

@lazerg

@lazerg lazerg commented Oct 20, 2026

Copy link
Copy Markdown
Contributor

ComboboxPopup read its required combobox input in ngOnDestroy, so destroying the popup before its first change detection threw NG0950. The popup now keeps the combobox it registered with in ngOnInit and only unregisters from that one.

Fixes #33972.

@crisbeto crisbeto added action: merge The PR is ready for merge by the caretaker target: patch This PR is targeted for the next patch release and removed area: aria/combobox labels Oct 20, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action: merge The PR is ready for merge by the caretaker target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug(aria/combobox): ComboboxPopup throws NG0950 when destroyed before its first change detection

2 participants