Skip to content

Don't ever cut off the room input bar's text input - #1366

Merged
kevinaboos merged 1 commit into
project-robius:mainfrom
kevinaboos:long_text_edit_reply
Nov 12, 2026
Merged

kevinaboos merged 1 commit into
project-robius:mainfrom
kevinaboos:long_text_edit_reply

Conversation

@kevinaboos

Copy link
Copy Markdown
Member

THe old way of capping every subview in the room input bar at 75% of the room screen's height was good in all cases except super long text AND something else atop it, like a reply preview or warning banner. If those also appeared then it could push the bottom of the text input below the screen.

We now reserve one full line for text input at a bare minimum, and then use the remaining space (Unused) to lay out the views above it. This includes the warning banners, so we move them into the input bar so they will always ben shown in full.
THe third priority is the reply preview, which is now collapsed to fit the remaining height.

we also save a bit more vertical space by placing the user avatar and display name of the replied-to message right next to the "Replying to:" header, but allow them to wrap.

THe old way of capping every subview in the room input bar at 75% of the
room screen's height was good in all cases except super long text AND
something else atop it, like a reply preview or warning banner.
If those also appeared then it could push the bottom of the text input
below the screen.

We now reserve one full line for text input at a bare minimum,
and then use the remaining space (`Unused`) to lay out the views above it.
This includes the warning banners, so we move them into the input bar
so they will always ben shown in full.
THe third priority is the reply preview, which is now collapsed to fit
the remaining height.

we also save a bit more vertical space by placing the user avatar
and display name of the replied-to message right next to the "Replying to:"
header, but allow them to wrap.
@kevinaboos
kevinaboos merged commit 9c012ba into project-robius:main Nov 12, 2026
12 checks passed
@kevinaboos
kevinaboos deleted the long_text_edit_reply branch November 12, 2026 09:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant