Telegram-iOS
Telegram-iOS copied to clipboard
Misreporting of dynamic css units
Checklist
- [x] I am reporting an issue in existing functionality that does not work as intended
- [x] 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
- Create screen that has
height:100lvh - Position element in center
- Scroll
- Cumulative layout shift occurs when screen resize
Screenshots and Videos
https://github.com/user-attachments/assets/7647a134-2972-4b11-8a03-6a4530fea431
Environment
Device: iPhone 13 Pro
iOS version: 17.6
App version: 11.1