Skip to content
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

Bug: Pinch-to-zoom on an iFrame can zoom past the app foreground #82

Closed
nwittwer opened this issue Oct 3, 2018 · 0 comments
Closed
Labels
Help Wanted Extra attention is needed Type: Bug Something isn't working

Comments

@nwittwer
Copy link
Collaborator

nwittwer commented Oct 3, 2018

Problem
If you hover over an empty iframe and use pinch-to-zoom (trackpad for example), you will control the zoom level for the entire app.

This is challenging because there's iframes (which have their own with potentially different scale settings, it's really hard to prevent the whole app from zooming in when you pinch-to-zoom on top of iframes.

Expectation
Able to zoom inside of the iFrames, but it shouldn't change the zoom level of the whole window

Challenges

  • Must be able to access all click/pointer events inside of the iFrame. So setting pointer-events:none won't work.
  • Most websites will prevent injecting content into an iFrame
@nwittwer nwittwer added Type: Bug Something isn't working Help Wanted Extra attention is needed labels Oct 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Help Wanted Extra attention is needed Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant