New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disable context menu for WebAgg backend? #4030
Comments
cc @pelson |
Yeah, go for it. Also, could you check that a right click is triggering the appropriate mpl events rather than just completely disabling the right-mouse button? |
ATTN: @mdboom I remember discussing this back during development/testing of
|
@WeatherGod: The issue I had before is that many browsers up until around 2 years ago made it rather difficult to disable the context menu and this use the right mouse button for something else, on the premise that it was a security flaw: a program could popup a fake context menu that then leads to something asking for a password or something. I think the browsers have all resolved this by not doing anything security related in the context menu and thereby allowing javascript to disable it. TL;DR: No longer an issue in current versions of Chrome/Firefox/Safari. |
The context menu is disabled for the
nbagg
backend here. The context menu is not suppressed for thewebagg
backend. This interferes with right click events on the figure and if the user selects "Save Image" from the browser context menu, they get just therubberband
layer.Okay with me moving the context menu disable to
mpl.js
?The text was updated successfully, but these errors were encountered: