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
sindrenm
12/10/2021, 11:24 AM
It will be scrollable (read: functional) when running an interactive preview. I don't think the non-interactive preview can be interactive.
➕ 1
y
yschimke
12/10/2021, 11:28 AM
Theoretically could your preview function animate via scrolls?
s
sindrenm
12/10/2021, 11:36 AM
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
Sean McQuillan [G]
12/10/2021, 5:35 PM
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
allan.conda
12/10/2021, 8:37 PM
You can increase the height if you just want to see the content