Open
Conversation
…ut the assumption that the sheet must be a Surface)
…ext coloring for consistency
FloEdelmann
reviewed
Apr 15, 2026
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
BottomSheetScaffoldfrom 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.
The overlay form, in contrast, is not scrollable, it's a much simpler layout.