79697204

Date: 2025-07-10 14:25:21
Score: 0.5
Natty:
Report link

Hmm...

Are you using ProGuard in release but not in debug? That, combined with the fact that the input composable is wrapped in an if statement, might mean that compose "thinks" there's a view there (and reserves a bit of space).

Maybe instead of

if (isItemChecked) {
    CustomInputText()
}

try

AnimatedVisibility(visible = isItemChecked) {
    CustomInputText()
}

Hope this works!

Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: lancylot2004