-
Notifications
You must be signed in to change notification settings - Fork 77
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
fix(segmented-control): ensure change event emits after item update #10818
Conversation
There was a problem hiding this 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.
packages/calcite-components/src/components/segmented-control/segmented-control.tsx
Outdated
Show resolved
Hide resolved
Hopefully no other failures like this 💯 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
packages/calcite-components/src/components/segmented-control/segmented-control.tsx
Outdated
Show resolved
Hide resolved
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. |
Related Issue: #10810
Summary
Updates
calcite-segmented-control
to wait for the item and parent component to be updated before emitting the change event.