dambakk
08/07/2023, 9:49 AManimateContentSize
) when clicked. The other composable pushes the button down and out of the view. Is there a way to set some anchor or something to the Column or the verticalScroll
-modifier? I've tried to animateScrollBy
some amount as the content size changes but I'm not happy with the result..Stylianos Gakis
08/07/2023, 9:59 AMdambakk
08/07/2023, 10:05 AMdambakk
08/07/2023, 11:54 AMStylianos Gakis
08/07/2023, 12:05 PMdambakk
08/07/2023, 12:09 PMrect
parameter, but I'm not sure if I'm using it correctly. Do you know what they mean by "local coordinates" in the rect
param description in the docs? Can I get the rect they're asking for from onGloballyPositioned
?Stylianos Gakis
08/07/2023, 12:15 PMdambakk
08/07/2023, 12:18 PMStylianos Gakis
08/07/2023, 12:19 PMdambakk
08/07/2023, 12:19 PMdambakk
08/07/2023, 1:14 PMbringIntoView()
(without a providing a rect, referencing a composable instead) works as expected, it scrolls so that the composable is in the view. However, in my case, I want it to scroll a bit further due to some overlapping view that sticks to the bottom of the screen, so I'm looking for a way to scroll an additional amount without it looking weird (I could do it with an additional call to scroll on scrollState but that wouldn't look good). Will keep you updated.)Stylianos Gakis
08/07/2023, 1:46 PM