Hi everyone, why content not scroll in Compose, ev...
# compose
a
Hi everyone, why content not scroll in Compose, even i add adjustResize in the manifest and also keyboard opened but not scrolling not worked.
Copy code
Column(
        modifier = Modifier
            .fillMaxSize(1f)
            .background(color = Color.White)
            .verticalScroll(state = rememberScrollState(),
    ) {
        HeaderSection("Welcome!", "It's great to have you here") {
            viewModel.events.postValue(AuthModuleClickEventsObject.BACK_CLICK)
        }
        ContentSection(
            modifier = Modifier
                .background(
                    color = Color(0xFFF3F6F9),
                    shape = RoundedCornerShape(topStart = 34.dp, topEnd = 34.dp)
                )
                .fillMaxWidth()
                .fillMaxHeight()
                .padding(horizontal = 17.5.dp),
            {}, {
                viewModel.events.postValue(AuthModuleClickEventsObject.FORGOT_PASSWORD_CLICK_EVENT)
            })
    }
????
z
I would look at your usage of
fillMaxSize
and
fillMaxHeight
first, could you please check if scrolling works without them?
a
@Zoltan Demant Its not working…
z
Sorry to hear that 😕 I dont have any more ideas currently, but hopefully somebody else will chime in!
a
@Oleksandr Balan can you please see this?
o
I am not sure, your code looks good to me 🤷