openwebf / webf

Build flutter apps with HTML/CSS and JavaScript.
https://openwebf.com/
Apache License 2.0
1.66k stars 121 forks source link

feat: change viewport css property value automatically when app metrics changed. #655

Closed andycall closed 1 month ago

andycall commented 3 months ago

In this demo, the scrolling list with the red rectangle was styled using CSS viewport units: vh and vw. When the app metrics information changed (keyword popup), the list view's height was automatically updated.

https://github.com/user-attachments/assets/1cb5e9a5-e462-44d0-941a-f8e3a850a9f4

jwxbond commented 1 month ago

OK