mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-29 05:00:43 +10:00
Fix Menu component blur handling in Firefox
This commit is contained in:
parent
ffec520e25
commit
2ee00aa5a0
4 changed files with 4 additions and 0 deletions
|
|
@ -2,4 +2,5 @@
|
|||
width: auto;
|
||||
height: 100%;
|
||||
position: relative;
|
||||
outline: none;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -174,6 +174,7 @@ class Menu extends Component {
|
|||
<div
|
||||
className={classes}
|
||||
onBlur={this.onBlur}
|
||||
tabIndex={0}
|
||||
onKeyDown={this.onKeyDown}
|
||||
ref={c => {
|
||||
this.menu = c;
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ exports[`Menu matches snapshot 1`] = `
|
|||
className=""
|
||||
onBlur={[Function]}
|
||||
onKeyDown={[Function]}
|
||||
tabIndex={0}
|
||||
>
|
||||
<button
|
||||
className=""
|
||||
|
|
|
|||
|
|
@ -105,6 +105,7 @@ exports[`TopbarDesktop data matches snapshot 1`] = `
|
|||
className=""
|
||||
onBlur={[Function]}
|
||||
onKeyDown={[Function]}
|
||||
tabIndex={0}
|
||||
>
|
||||
<button
|
||||
className=""
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue