1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 19:26:13 +02:00
metamask-extension/test
Mark Stacey f381f41cb2
Fix network dropdown button (#10312)
This fixes a bug where the network menu would remain present after a
second click on the network menu button. The bug was caused by the
click being handled _twice_, by two separate handlers. First it was
caught by the external click handler of the dropdown menu, which closed
the menu. Second, it was caught by the network button itself, which re-
opened the menu. This all happens quickly enough that to the user it
appears to stay open.

The external click handler of the menu now only fires if the menu is
open. Additionally, any click that is caught by the network menu is
stopped from propagating further, so that it can't trigger additional
click handlers.
2021-01-30 12:12:55 -03:30
..
data Remove use of ethgasstation; use metaswap /gasPrices api for gas price estimates (#9867) 2020-12-02 19:55:19 -03:30
e2e Fix network dropdown button (#10312) 2021-01-30 12:12:55 -03:30
lib Add timeout to wait-until-called (#9996) 2020-12-04 13:47:57 -03:30
stub json-rpc-engine@6.1.0 (#9922) 2020-12-02 11:41:24 -08:00
unit Fix site metadata JSON-RPC handler (#10243) 2021-01-22 10:27:07 -08:00
unit-global Add SES lockdown to extension webapp (#9729) 2020-11-24 11:26:43 +08:00
env.js Remove cross-env (#7950) 2020-01-30 14:11:26 -03:30
helper.js Migration to remove legacy local storage keys from localStorage (#9986) 2020-12-03 20:25:23 -03:30
setup.js Remove obs-store babel register handling (#8413) 2020-04-27 07:54:42 -07:00