How do you deal with scrollable screens in `preview`s?
I'm currently just changing the height of the preview but there's a limit to it.
Isn't there a setting for the whole screen to be visible? Sort of like those scrollable screenshots one can make on the phone
t
Timo Drick
05/28/2025, 7:30 AM
I do some times scroll down in the previews. But this works best when the scroll state is exposed to the viewmodel and than i mock the viewmodel and providing a scroll state which is all the way scrolled down.
This will also check if there are some problems with contentPadding.