Closed ashpreetbedi closed 5 years ago
I wonder if you're being "attacked" by Chrome! After a bunch of debugging, it turned out that Chrome wants to add an "outline" property to :focus elements:
We're using Material-UI, so I set the "root" property of "outline: 'none !important'" for the MuiList element and it removed the outlining!
Hey @ashpreetbedi, @JSteeleAZ is correct - you'll need to set the outline
property to none
if you want to disable this. It's there for accessibility reasons though, so if you remove it, your site won't be keyboard navigable.
Is there a CSS property for removing this outline on focus? When I click on the burger menu or the cross, this outline appears.
I'm using a customBurgerIcon and customCrossIcon. Here are my current styles:
Thank you again for building react-burger-menu :) :) :)