Skip to content

fix(cdk/testing): dispatch bubbling input and change events - #34018

Closed
lazerg wants to merge 1 commit into
angular:mainfrom
lazerg:fix/issue-34017-input-harness-bubbling-events
Closed

lazerg wants to merge 1 commit into
angular:mainfrom
lazerg:fix/issue-34017-input-harness-bubbling-events

Conversation

@lazerg

@lazerg lazerg commented Oct 29, 2026

Copy link
Copy Markdown
Contributor

The TestbedHarnessEnvironment was dispatching input and change events that don't bubble, so listeners on a parent element never saw them when using methods like sendKeys, clear or selectOptions. The real browser events bubble, and so did the ones from the WebDriver environment. These changes make the fake events bubble too.

Fixes #34017.

@crisbeto

Copy link
Copy Markdown
Member

Handled in #34020.

@crisbeto crisbeto closed this Oct 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug(input): MatInputHarness#setValue does not dispatches a bubbleing event

2 participants