Review 13.4 Merged

87816[BUGFIX] Improve viewport height handling with dynamic units

Benjamin Franzke CR +2 V +2 Normal +44 −42 updated 01/20/25, 14:33

Commit message

Replaced static viewport height units with dynamic viewport units to
address inconsistencies in how browsers handle viewport size changes.
Static units fail to adapt when browser UI components like the address
bar or tab bar change visibility or size, particularly on mobile devices
such as iOS, iPadOS, and Android.

While Android browsers respect the fixed-frame structure of the backend,
iPadOS calculates viewport heights as if scrolling were enabled, leading
to layout issues—especially in Safari with multiple tabs open.

By switching to dynamic viewport units, the layout now adjusts to
changes in browser controls, ensuring accurate spacing and accessibility
for all interface elements, even at the bottom of the screen.

Additionally, the view module’s maximum size calculation has been
updated to correctly account for the docheader. This ensures consistent
sizing across all views and improves alignment with the updated viewport
handling logic.

Review

  • Code review CR +2 Done
    • Benjamin Franzke +2
  • Verified V +2 Done
    • Benjamin Franzke +2
    • core-ci +1 CI

Issues 1

Files 17

Review log 34

  1. Benjamin Franzke commented on patch set 1 01/20/25, 14:22

    Cherry Picked from branch main.
  2. Benjamin Franzke voted on patch set 1 CR +2 V +2 01/20/25, 14:31

  3. core-ci voted on patch set 1 V +1 01/20/25, 14:32 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/72730

  4. Benjamin Franzke merged patch set 2 01/20/25, 14:33