-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Allow browser-based context-click to download Imagery #3857
Conversation
- `pointer-events: none` added to `c-compass` wrapper (which was blocking the image from catching mouse events), and `pointer-events: all` added to `c-direction-rose` element; - Unit tested locally in main view and both types of layouts; - Fixed indention spacing in file;
@charlesh88 It looks like the previous and next buttons also prevent the context save menus for images: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Compass fix looks good!
However, the previous and next buttons seem to prevent the image menu items as well.
@shefalijoshi Yes, any clickable controls are going to prevent the browser-based menu from displaying - this is normal and can't be solved with this approach. A more long term solution would be to add an explicit Save action, available in the view's 3 dot menu - but let's get this in first. |
@shefalijoshi Conflicts resolved, this PR should be good to go. |
Reviewer Checklist
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
Simple fix to allow browser context-clicking to download imagery. Fixes #3756.
pointer-events: none
added toc-compass
wrapper (which was blocking the image from catching mouse events), andpointer-events: all
added toc-direction-rose
element;