Closed spjtls9 closed 2 years ago
@spjtls9 thanks for report 👍
It's a valid bug that may require refactor ButtonGroup
🤔
When variables
are passed to items
:
variables
will be passed to a Button
component and buttonStyles
will be evaluated with them properly ✅ styles
that will override borderRadius
setting ❌ Because this issue has not had activity for over 150 days, we're automatically closing it for house-keeping purposes.
Still require assistance? Please, create a new issue with up-to date details.
Because this issue has not had activity for over 150 days, we're automatically closing it for house-keeping purposes.
Still require assistance? Please, create a new issue with up-to date details.
Environment Information
Please provide a reproduction of the bug in a codepen:
https://codesandbox.io/s/fluent-ui-example-forked-kbf3m?file=/example.js
Actual behavior:
When
borderRadius
is added invariables
in button shorthand props in Button.Group, theborderRadius
is not applied. However,borderRadius
instyles
works.Only the item in the middle has intended
borderRadius
(in codesandbox)Expected behavior:
borderRadius
should be applied as specified.Priorities and help requested:
Are you willing to submit a PR to fix? (Yes, No) No
Requested priority: (Blocking, High, Normal, Low) Normal
Products/sites affected: (if applicable)