Is there a way to make a LazyColumn scrollable in ...
# compose
f
Is there a way to make a LazyColumn scrollable in preview? currently my preview content is larger than the preview size and there’s no way to scroll it.
s
It will be scrollable (read: functional) when running an interactive preview. I don't think the non-interactive preview can be interactive.
1
y
Theoretically could your preview function animate via scrolls?
s
When run in interactive mode, it should be able to do most (if not all?) of what it can do on device. In “regular” previews it won't be interactive and it won't run animations.
👍 1
👍🏻 1
s
Assuming your showing some side effect of scroll - your best bet is to make multiple previews for the different states when viewing non-interactivd
1
a
You can increase the height if you just want to see the content
1