Alex Styl
08/06/2024, 11:15 AMrememberScrollState()
, but won't work for my case because I am not controlling the content i want to observe.
Context for those curious: I am trying to get canvas based composables rendered on HTML to consume scroll events only if there is any scrolling that needs to be done. Right now if you scroll while on a composable, the whole page scrolls together with the composable itself.
This is probably a Compose Web thing than Compose, so ignore this one 🙂shikasd
08/06/2024, 11:42 AMcanScrollForward
It doesn't tell you how much is left to scroll, but can tell you if the scroll is finishedAlex Styl
08/06/2024, 11:52 AMExamplePreview {
DynamicContent() //<- can the contents of this scroll or not?
}
Alex Styl
08/06/2024, 11:52 AMCanvasBasedWindow
and see how things are wired. i doubt the above can be handled by compose apisshikasd
08/06/2024, 12:10 PMAlex Styl
08/06/2024, 12:15 PMAlex Styl
08/06/2024, 12:28 PMSkaldebane
08/09/2024, 6:14 AMAlex Styl
08/09/2024, 8:14 AM