Repository navigation
fix(chat): slide the empty-chat greeting with the keyboard on mobile - #594
Merged
Merged
Conversation
The message area takes its new height in one frame when the keyboard opens or closes, so the centred "Start a new conversation" greeting jumped by half the distance the composer slides. It now rides the composer's slide over that half, on the same curve. Co-Authored-By: Claude <noreply@anthropic.com>
Contributor
[Low impact] The PR appears safe to merge. SummaryEmpty chats now slide their greeting with the mobile keyboard instead of snapping.
No actionable issues were found. Review was static; the animation was not checked inside Obsidian on a mobile device. Reviews (1) · Last reviewed commit: "fix(chat): slide the empty-chat greeting..." · Reviewed by Greptile |
Leo310
added a commit
that referenced
this pull request
Nov 26, 2026
Google Gemini (#584), Mistral (#585) and LM Studio (#583) as providers, a directory of OpenAI-compatible services under More providers (#589), and a per-agent reasoning effort (#582). Quoting chat text into the input (#593), chats that open where the last one was (#592), model details read from each provider instead of models.dev (#586), and mobile fixes for the sidebar drawer, the Cupertino theme, the formatting toolbar and the empty-chat greeting (#594, #595, #596). Co-Authored-By: Claude <noreply@anthropic.com>
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.
What
On mobile, tapping the chat input slides the composer up with the keyboard, but in an empty chat the "Start a new conversation" greeting jumped. The message area takes its new height in one frame, and since the greeting is centred in it, it snapped up by half the distance the composer travels.
slideComposernow also slides the empty state (.s2b-chat-empty-state) by half the offset, on the same curve. That covers keyboard open/close and focus moving between the chat and a note while the keyboard is up. Reduced motion skips it, as it does for the composer.How I tested it
bun run check,format,lintandtestpass, and a dev build succeeds. Not yet tried on a device; that is going out as 2.7.0-beta.5 for on-device testing on iOS.AI assistance: Claude Code wrote the change from Leo's report of the greeting jumping; Leo is testing it on mobile via the beta.
Checklist
bun run check,bun run format,bun run lint, andbun run testpass locallymanifest.json: I noted that the docs site needs updating (see "Documentation" in CONTRIBUTING.md)