Focus state not wrapping around the whole icon #795
-
Hi team, Im trying to use the branding icon, but the focus state doesn't seem to wrap around perfectly. I would appreciate some help. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
Hey @pradyuk ! Is there a prototype or codesandbox you could share with us? It‘ll make debugging this a little easier. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
@pradyuk after taking a closer look, it looks like you might be running an old version of the icons package. I'm seeing the icon with a Icons also take a You can find the latest Paste package versions here: https://paste.twilio.design/getting-started/engineering#install-paste-system-packages We're working on a way to make keeping these up to date much easier as well. More on that soon. |
Beta Was this translation helpful? Give feedback.
@pradyuk after taking a closer look, it looks like you might be running an old version of the icons package. I'm seeing the icon with a
display: inline-flex
style. That throws off the height and along with it the focus state. If you update your icon package, you should see adisplay: block
style instead. That should fix the issue.Icons also take a
display
prop so if updating the package is risky, you could also just pass the icondisplay="block"
.You can find the latest Paste package versions here: https://paste.twilio.design/getting-started/engineering#install-paste-system-packages
We're working on a way to make keeping these up to date much easier as well. More on that soon.