Skip to content

fix(material/button): harness not picking up buttons with dynamic appearance #31327

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 12, 2025

Conversation

crisbeto
Copy link
Member

@crisbeto crisbeto commented Jun 11, 2025

Fixes that the button harness wasn't finding buttons with a dynamic appearance, because then Angular won't set an attribute to the DOM for data bindings. These changes switch to using a class selector instead.

@crisbeto crisbeto requested a review from a team as a code owner June 11, 2025 07:01
@crisbeto crisbeto added the target: patch This PR is targeted for the next patch release label Jun 11, 2025
@crisbeto crisbeto requested review from mmalerba and andrewseguin and removed request for a team June 11, 2025 07:01
…earance

Fixes that the button harness wasn't finding buttons with a dynamic appearance, because then Angular won't set an attribute to the DOM. These changes switch to using a class selector instead.
@crisbeto crisbeto force-pushed the button-harness-dynamic branch from 26cc36e to 26ae976 Compare June 11, 2025 07:59
@crisbeto crisbeto added the action: merge The PR is ready for merge by the caretaker label Jun 12, 2025
@crisbeto crisbeto removed the request for review from andrewseguin June 12, 2025 11:16
@crisbeto crisbeto merged commit 5f4fa62 into angular:main Jun 12, 2025
24 of 25 checks passed
@crisbeto
Copy link
Member Author

The changes were merged into the following branches: main, 20.0.x

crisbeto added a commit that referenced this pull request Jun 12, 2025
…earance (#31327)

Fixes that the button harness wasn't finding buttons with a dynamic appearance, because then Angular won't set an attribute to the DOM. These changes switch to using a class selector instead.

(cherry picked from commit 5f4fa62)
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 area: material/button target: patch This PR is targeted for the next patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants