mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Merge pull request #423 from MetaMask/FixMenuBug
Fix main dropdown animation
This commit is contained in:
commit
6537544463
@ -173,12 +173,12 @@ App.prototype.renderAppBar = function () {
|
|||||||
width: 16,
|
width: 16,
|
||||||
barHeight: 2,
|
barHeight: 2,
|
||||||
padding: 0,
|
padding: 0,
|
||||||
isOpen: props.menuOpen,
|
isOpen: state.isMainMenuOpen,
|
||||||
color: 'rgb(247,146,30)',
|
color: 'rgb(247,146,30)',
|
||||||
onClick: (event) => {
|
onClick: (event) => {
|
||||||
event.preventDefault()
|
event.preventDefault()
|
||||||
event.stopPropagation()
|
event.stopPropagation()
|
||||||
this.setState({ isMainMenuOpen: true })
|
this.setState({ isMainMenuOpen: !state.isMainMenuOpen })
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
]),
|
]),
|
||||||
|
Loading…
Reference in New Issue
Block a user