Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Misreporting of dynamic css units #1551

Open
2 tasks done
XantreDev opened this issue Sep 16, 2024 · 0 comments
Open
2 tasks done

Misreporting of dynamic css units #1551

XantreDev opened this issue Sep 16, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@XantreDev
Copy link

Checklist

  • I am reporting an issue in existing functionality that does not work as intended
  • I've searched for existing GitHub issues

Description

CSS dynamic viewport units work incorrectly. lvh, svh shouldn't change

Expected Behavior

lvh and svh is static

Actual Behavior

lvh = svh = dvh

Steps to Reproduce

  1. Create screen that has height:100lvh
  2. Position element in center
  3. Scroll
  4. Cumulative layout shift occurs when screen resize

Demo

More context

Screenshots and Videos

IMG_0227.MP4

Environment

Device: iPhone 13 Pro

iOS version: 17.6

App version: 11.1

@XantreDev XantreDev added the bug Something isn't working label Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
1 participant