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(segmented-control): ensure change event emits after item update #10818

Conversation

jcfranco
Copy link
Member

@jcfranco jcfranco commented Nov 20, 2024

Related Issue: #10810

Summary

Updates calcite-segmented-control to wait for the item and parent component to be updated before emitting the change event.

@github-actions github-actions bot added the bug Bug reports for broken functionality. Issues should include a reproduction of the bug. label Nov 20, 2024
@jcfranco jcfranco requested a review from driskull November 20, 2024 20:34
@jcfranco jcfranco added the pr ready for visual snapshots Adding this label will run visual snapshot testing. label Nov 20, 2024
@jcfranco jcfranco requested a review from benelan November 20, 2024 21:34
Copy link
Member

@driskull driskull left a comment

Choose a reason for hiding this comment

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

👍 Looks good besides a comment to be removed.

@driskull
Copy link
Member

Hopefully no other failures like this 💯

Copy link
Member

@benelan benelan left a comment

Choose a reason for hiding this comment

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

👍

@jcfranco
Copy link
Member Author

Hopefully no other failures like this 💯

Due to the asyncness of the testing environment, there could be other spots that need a similar fix. I'll spend some time this week on selection/change-type events.

@jcfranco jcfranco added skip visual snapshots Pull requests that do not need visual regression testing. pr ready for visual snapshots Adding this label will run visual snapshot testing. and removed skip visual snapshots Pull requests that do not need visual regression testing. pr ready for visual snapshots Adding this label will run visual snapshot testing. labels Nov 20, 2024
@jcfranco jcfranco merged commit 0a7dbed into dev Nov 20, 2024
17 checks passed
@jcfranco jcfranco deleted the jcfranco/10810-ensure-segmented-control-change-event-emits-after-item-update branch November 20, 2024 22:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug reports for broken functionality. Issues should include a reproduction of the bug. pr ready for visual snapshots Adding this label will run visual snapshot testing.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants