Repository navigation
Improve searchbar design&behavior - #7050
Merged
Merged
Conversation
… content down Keep the divider in the layout and draw the LinearProgressIndicator on top of the app bar's bottom edge, matching the chat toolbar's loading indicator. Assisted-by: Claude Code:claude-opus-5-5 Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
The idle search card (58dp) and the active search app bar (64dp + 1dp divider) had different heights, so tapping the search field made the conversation list jump down. Use the same fixed height for both states. Assisted-by: Claude Code:claude-opus-5-5 Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
Instead of swapping the rounded search card for a separate app bar when the search gets activated, keep the same card and only change its content: a back arrow, the text field and a clear button. The avatar, filter and threads buttons are hidden while searching. This keeps the top bar's shape and height, so the content below doesn't jump. Assisted-by: Claude Code:claude-opus-5-5 Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
Animate hiding and showing the avatar, filter and threads buttons when the search gets activated or closed. The back arrow and clear button fade in and out, and the paddings animate so the search card and its text move smoothly instead of jumping. Assisted-by: Claude Code:claude-opus-5-5 Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
mahibi
force-pushed
the
fixJumpingContentWhileLoading
branch
from
November 16, 2026 10:56
ebec2b0 to
7cdba2d
Compare
Contributor
Contributor
📱 QA build
The QA build installs alongside a released Nextcloud app, so you can keep Downloading the file requires a GitHub account, so open this link on the |
jancborchardt
approved these changes
Nov 16, 2026
jancborchardt
left a comment
Member
There was a problem hiding this comment.
Very nice detail fix, very clearly variant C with the nice subtle animations. :) FYI @nimishavijay
Member
|
Agree with @jancborchardt -> Should be C. All are Material 3 compliant, but C has the smoother transition and looks more modern and is more in the bucket of the latest expressive variant of Material 3. 🚀 |
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.
Issue 1: The searchbar height changes when it is clicked.
Issue 2: The content below the searchbar is jumping in height when the loadingbar visibility is toggled.
Below are different variants how this can be solved.
Please react to the PR description with the emoji for Variant A, B or C.
Waiting for feedback...
🎥 Screenvideos
Before
bug_jumping_bat_and_content.mp4
After
Variant A (commit 4b76635) -> vote with 🎉 reaction
commit.4b766353.mp4
Variant B: keep rounded searchbar (commit 6aaafa53) -> vote with ❤️ reaction
commit.6aaafa53.mp4
Variant C: keep rounded searchbar + animate avatar icon (commit 43aa2637) -> vote with 🚀 reaction
commit.43aa2637.mp4
🏁 Checklist
/backport to stable-xx.x🤖 AI (if applicable)