Closed gabbsmo closed 3 months ago
100% most of the case is not reliant. I only had support in the dialogs for vw, vh.
I added now the more common and better useable viewport height and widht using svw and svh. Which will give you the smalles view port that matches the quasi "real browser" window.
That looks cleaner indeed. Please let me know when it is on npm and I will see if I can remove my workaround. Thanks!
🛳️ Shipped in 2.5.0 - https://lab.n8d.studio/htwoo/changelog/htwoo-core-cl/
In my scenario the sidebars are sometimes stacked on top of eachother and/or are scrollable. I find that postion: fixed; height: 100%;
works better in my case.
1: Without postion: fixed
, the scrollbar will push the content to towards the center of the viewport, on Windows for example. Different browsers have the scrollbars either overlapping or to the side.
2: Without postion: fixed; height: 100%;
, overlaying sidebar may get less height than the one below when stacking them.
Describe the bug The hight of sidebar dialogs is too high in the case of browsers where the chrome overlays the viewport. This is very common on touch devices.
To Reproduce Steps to reproduce the behavior:
.hoo-dlg.sidebar.right
Expected behavior Sidebar dialogs should have the same height as the visible viewport.
Smartphone (Android)
Smartphone (Apple)
Additional context One recommendation is to use
height: 100%
together withposition: fixed
, rather thanheight: 100vh
. See Chrome for Developers.My workaround: