Roberto Leinardi
02/14/2024, 10:07 AMLazyLayout
work with nested scrolling and in particular supporting Modifier.pullRefresh(pullRefreshState)
and Modifier.nestedScroll(TopAppBarDefaults.enterAlwaysScrollBehavior().nestedScrollConnection)
modifiers. Right now, the LazyLayout
uses Modifier.pointerInput()
for drag detection, should something else be used? I want to see if I can tweak this library called MinaBox to handle nested scrolling.Albert Chang
02/14/2024, 10:42 AMLazyLayout
itself doesn't have any gesture detection. If you are creating a lazy layout yourself, you can dispatch nested scroll delta manually, or use Modifier.scrollable()
if the layout can only be scroll on a single axis. In this case, you can only ask the author of that library to support nested scroll.Roberto Leinardi
02/14/2024, 10:54 AMyou can dispatch nested scroll delta manuallyAre you aware of any existing public implementation of this that I could look at?
Roberto Leinardi
02/14/2024, 10:58 AM