mirror of
https://github.com/wekan/wekan.git
synced 2026-11-26 20:45:07 -05:00
Dragging the header bars scrolled the page but dragging the grey content area did not. The header sits OUTSIDE #content, so the fact that it scrolls proves the BODY is the real scroller. The previous commit had made #content its own `overflow-y: auto` scroller - and in the content area that TRAPPED the touch: #content caught the gesture and, having nothing of its own to scroll, did not pass it on to the body, so a finger over the text did nothing while the same drag over the header still worked. #content is a pass-through again: `overflow: visible` so it does not catch the touch, and `flex: 0 0 auto; min-height: auto` so it takes its content's full natural height instead of being squeezed to the viewport by the default `flex: 1`. The body's content is then taller than the body, so the body scrolls - one scroller, reachable by a finger anywhere. The body keeps `100dvh` (bottom tracks Safari's toolbar, not the large `100vh`), `overflow-y: auto`, and `overscroll-behavior: contain` (no pull-to-refresh). Still scoped with `body:has(.wrapper.global-search-wrapper)`, so only this page changes. Thanks to xet7 !