Button has odd focus behavior when adding padding #3790
Labels
bug
A bug
closed:not-actionable
There is no action to be taken in response to this issue.
community:request
Issues specifically reported by a member of the community.
Describe the bug; what happened?
The above SS has padding applied to the
fast-button
host. This causes the focus rect to draw inside the box of the host because focus is actually on an internal button element. We should move the focus rect to the host element and use:focus-within
to account for this.The text was updated successfully, but these errors were encountered: