1. Glossary
  2. Visual viewport

Visual viewport

The portion of the viewport that is currently visible is called the visual viewport. This can be smaller than the layout viewport, for example when the user has pinch-zoomed. The visual viewport is the visual portion of a screen excluding on-screen keyboards, areas outside of a pinch-zoom area, and any other on-screen artifact that doesn't scale with the dimensions of a page.

See also

Help improve MDN

Learn how to contribute

This page was last modified on by MDN contributors.

AltStyle によって変換されたページ (->オリジナル) /