bokand / bokand.github.io

MIT License
24 stars 6 forks source link

Additional viewport-related improvements in Firefox #10

Open theres-waldo opened 4 years ago

theres-waldo commented 4 years ago

In recent Firefox releases we have implemented additional improvements to viewport-related behaviour:

With these changes, I believe we are now in alignment with Chrome on all viewport-related behaviours described in this explainer doc. Please let me know if I overlooked anything!

bokand commented 4 years ago

Awesome, congrats! I'll try to give it a look next week if I can find some time.

Any reason why the visual viewport API is limited to Android? IIRC desktop (used to?) not support pinch-zoom in the way mobile does. If that's the case, it's trivial to implement there as well. It doesn't provide any new information to pages but it does allow authors to write more uniform code.

theres-waldo commented 4 years ago

Any reason why the visual viewport API is limited to Android? IIRC desktop (used to?) not support pinch-zoom in the way mobile does.

We are working on enabling pinch-zoom support on desktop, and plan to enable the Visual Viewport API as part of that support.