Skip to content

Commit

Permalink
[Drawer] Hide focus ring (mui#9147)
Browse files Browse the repository at this point in the history
* [Drawer] Hide focus ring

* Update Drawer.js
  • Loading branch information
rodrigofepy authored and the-noob committed Nov 17, 2017
1 parent 6b389db commit 6b7eafe
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Drawer/Drawer.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,12 @@ export const styles = (theme: Object) => ({
// temporary style
position: 'fixed',
top: 0,
// We disable the focus ring for mouse, touch and keyboard users.
// At some point, it would be better to keep it for keyboard users.
// :focus-ring CSS pseudo-class will help.
'&:focus': {
outline: 'none',
},
},
paperAnchorLeft: {
left: 0,
Expand Down

0 comments on commit 6b7eafe

Please sign in to comment.