-
Notifications
You must be signed in to change notification settings - Fork 107
feat(ui-toggle-details): rework ToggleGroup #2375
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
Conversation
a7b7717 to
3a179c7
Compare
|
3a179c7 to
7562481
Compare
| await waitFor(() => { | ||
| svg = container.querySelector('svg')! |
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.
renderIconWithProps uses React.createElement, causing React to replace the SVG DOM node when icons change (instead of updating in place). The test held a stale reference to the old SVG.
| const toggleGroupSizeToIconSize = { | ||
| small: 'md', | ||
| medium: 'md', | ||
| large: 'lg' | ||
| } as const |
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.
@adamlobler can you check these sizes please?
INSTUI-4882
7562481 to
5c15782
Compare
INSTUI-4882
ISSUE:
TEST PLAN: