QHeader reveal behaviour #17703
-
Why does the I would expect, that header should be shown again, when scrolling is back to top position again?! On a mobile , this actual behaviour is really annoying for the user. Because only wiping a bit again upwards, does show again the header and steels again pixels to show productive data. Is this behaviour as intended? Imo, the cause can be found here watch($layout.scroll, scroll => {
props.reveal === true && updateLocal(revealed,
scroll.direction === 'up'
|| scroll.position <= props.revealOffset
|| scroll.position - scroll.inflectionPoint < 100
)
}) I would appreciate if this could be changed or added as a new prop i.e. watch($layout.scroll, scroll => {
props.reveal === true && updateLocal(revealed,scroll.position <= props.revealOffset)
}) at least for my local tests it works as I'd expect it. Rem.: Ofc the same with |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi, This is exactly what reveal is supposed to do. If not that, then you can use a non-fixed header (h instead of H in the “view” prop) |
Beta Was this translation helpful? Give feedback.
Hi,
This is exactly what reveal is supposed to do. If not that, then you can use a non-fixed header (h instead of H in the “view” prop)