Open simonziegler opened 4 years ago
Thanks for the bug! Looks like this is due to a border being set on <button>
with the ::-moz-focus-inner selector.
Since we use a ripple to indicate focus for a11y, we should be able to safely remove this border.
It looks like we're already doing this in other components like mdc-button. We should do a quick check and see if there are any other buttons outside of mdc-icon-button that would need this.
5329 Bug report
After being pressed, icon buttons in Firefox retain a residual outline around their icon
Steps to reproduce
Actual behavior
Outline is left around the icon after a click.
Expected behavior
There should be no outline.
Screenshots
Your Environment:
Additional context
Pages on material.io underneath https://material.io/develop/web/components briefly show a lack of CSS as you navigate the menu from one component to another when using Firefox.
Possible solution
n/a