I’m running into a quick layout issue with the new Polaris components.
When using an icon-only s-button (without text) inside an s-section as a secondary-actions with accessibilityLabel, the button shifts its position upon hover, probably triggered by the s-tooltip appearing, which causes a noticeable and annoying flickering effect.
The video above was recorded in the Polaris Documentation but i was able to reproduce it in my app.
Thanks in advance!
P.S. AI was used only to assist with the English translation of this message.
Thanks for the report and recording. We reproduced this in the App Home example and confirmed it’s a Polaris component bug, not an issue with your app.
The tooltip shifts the action button, repeatedly toggling its hover state and causing the flicker. We’re tracking this internally.
Please keep the accessibilityLabel for accessibility. As a temporary workaround, use visible button text if your design allows it. We’ll update this thread when a fix ships.
Hey @Hanad-Shopify, is there already an update on this? Wasn’t the idea of the polaris-2 version that these small fixes could be shipped faster (instead of pinning it to polaris-2.x specifically)?