Skip to content

Conversation

@Nico3012
Copy link

@Nico3012 Nico3012 commented Jan 24, 2026

Description

To improve iOS/iPadOS Safari compatibility, vh units should be replaced with svh and vw with svw, as Mobile Safari handles vh inconsistently due to dynamic browser UI resizing (address bar, toolbars), leading to layout jumps and incorrect viewport calculations. These new units are specifically to solve this problem and are supported for many years in all major borwsers.

Related Issue

Motivation and Context

It solves incompatibility with vw and vh css units in IOS/IpadOS Safari.

How Has This Been Tested?

No functional changes. Appearance was tested on Chrome Windows, Firefox Windows, Chrome Android (Galaxy S23), Firefox Android (Galaxy S23) and iPad Pro 12.9" 2020.
All devices with the latest software installed.
As expected, nothing has changed, except, the iPadOS version now behaves correctly.

Types of changes

  • Bug fix (Only changed the css units from vh and vw to svh and svw)

@update-docs
Copy link

update-docs bot commented Jan 24, 2026

Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes.

@CLAassistant
Copy link

CLAassistant commented Jan 24, 2026

CLA assistant check
All committers have signed the CLA.

@sonarqubecloud
Copy link

@Nico3012
Copy link
Author

@ownclouders Could someone please review this? Reviewer needed for merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

iOS/iPadOS Safari compatibility: replace vh with svh and vw with svw

2 participants