Skip to content
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

fix(button-toggle-group): fix race condition between values property and slotted buttons #1324

Conversation

YonatanKra
Copy link
Contributor

@YonatanKra YonatanKra commented Jun 23, 2022

@k-paxian - would appreciate if you could review this one and make sure it answers the use case (note the test I've added)

@github-actions
Copy link

🚀

Latest successful build of the PR deployed here.

🚀

@YonatanKra YonatanKra changed the title fix(button-toggle-group): fix race condition between values property and child buttons in the main slot fix(button-toggle-group): fix race condition between values property and slotted buttons Jun 23, 2022
@github-actions
Copy link

🚀

Latest successful build of the PR deployed here.

🚀

Copy link
Collaborator

@k-paxian k-paxian left a comment

Choose a reason for hiding this comment

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

we need values property to accept null or []

@YonatanKra YonatanKra force-pushed the 1321-vwc-button-toggle-group-race-condition-between-values-property-and-child-buttons-in-the-main-slot branch from 6805f87 to 21a7f48 Compare June 28, 2022 12:09
@sonarcloud
Copy link

sonarcloud bot commented Jun 28, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@YonatanKra YonatanKra merged commit 3477513 into master Jun 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

[vwc-button-toggle-group] race condition between values property and child buttons in the main slot
2 participants