Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Another context menu appears after displaying an context menu on new tab button #8647

Closed
luixxiul opened this issue May 3, 2017 · 4 comments

Comments

@luixxiul
Copy link
Contributor

luixxiul commented May 3, 2017

Test plan

Right click on new tab button should work as expected; only showing one menu

Original issue description

Describe the issue you encountered: Another context menu appears after displaying an context menu on new tab button

@cndouglas
Copy link

Also reproducible with Brave 0.15.2 preview 2 and the latest master (8745bd5) on macOS 10.12.x.

Introduced when the menu was made native (PR #8397). There's already a e.stopPropagation() in longPressButton.js, so I'm not sure what's causing this behavior.

@bsclifton
Copy link
Member

bsclifton commented May 3, 2017

@luixxiul great find! 😄

@liunkae I believe this is related to #8320

Once the native menu shows, we should stop propagation. Do you think you can check it out? 😄

@srirambv
Copy link
Collaborator

srirambv commented May 3, 2017

Not reproducible on Windows 10 x64 preview 2 build.

@srirambv
Copy link
Collaborator

@bsclifton @luixxiul Isn't it correct it showing the tab context menu when it is clicked on it irrespective of the newtab context menu being shown when clicked on new tab?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.