Skip to content

Quest form & overlay form in compose#6818

Open
westnordost wants to merge 28 commits intomasterfrom
quest-form-compose
Open

Quest form & overlay form in compose#6818
westnordost wants to merge 28 commits intomasterfrom
quest-form-compose

Conversation

@westnordost
Copy link
Copy Markdown
Member

Now this just adds the forms, they are not used yet in the code.

Screen_recording_20260415_145158.mp4

A challenge was to make the nested scrolling in the answer bubble work properly. I couldn't use the BottomSheetScaffold from material because (amongst other things) that composable assumes that the bottom sheet is always a single Surface, i.e. has a background. But the StreetComplete style has this speech bubbles appearance.

I am a little concerned that the dropdown is offset by what looks like the height of the navigation bar(?). A side-effect of the nested scrolling? I haven't looked into it yet, because at the moment it seems like a minor imperfection.

Screenshot_20260415_145123

The overlay form, in contrast, is not scrollable, it's a much simpler layout.

@westnordost westnordost added the iOS necessary for iOS port label Apr 15, 2026
@westnordost westnordost moved this to In Progress in iOS Port Apr 15, 2026
@westnordost
Copy link
Copy Markdown
Member Author

TODO: look into the dropdown offset a bit - on what does it depend? Window insets (i.e. navigation bar, status bar)? Can it be reproduced with a simpler example? (E.g. any scrollable view? Normal nested scrolling?) - for possible bug report at jetbrains/google.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

iOS necessary for iOS port

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

2 participants