Visual viewport API
Widely available since 2024-02-10
The visualViewport
API provides a way to query and modify the user-visible viewport of a web page.
Learning resources on MDN
Browser support
- Chrome 61 Released on 2017-09-05
- Chrome Android 61 Released on 2017-09-05
- Edge 79 Released on 2020-01-15
- Firefox 91 Released on 2021-08-10
- Firefox for Android 68 Released on 2019-07-09
- Safari 13 Released on 2019-09-19
- Safari on iOS 13 Released on 2019-09-19
Specifications
View web-platform-tests results for this feature - View the feature source file - Edit the feature - Report an issue about this feature