I have an Add Shopping List item Jetpack Compose screen which contains several TextField inputs and an image container at the bottom. The screen overflows at the bottom and is cut off. How can I scroll the screen?
How to scroll Jetpack Compose screen that overflows its contents?
10.1k Views Asked by Raj Narayanan At
3
EDIT: October 2023
At some point along the way this was changed and the old solution does not work anymore. The solution to this question is now:
Old solution
Add
Modifier.scrollable(..)to the container that you wish to make scrollable. Code would be something like this:Of course, there are other
Modifiermethods for making composables scrollable that might fit better for your case.