Repository navigation
fix(settings): stabilize Settings search header height and alignment (#19241) - #21343
Merged
kodjima33 merged 3 commits intoOct 13, 2026
Conversation
Closed
1 task
Member
|
Thanks for this well-scoped fix and the regression test — the root-cause analysis in the description matches what the code actually does. Per-file notes:
Checks are green on the head. This is in good shape — leaving the final approval/merge to a human maintainer since this is your first contribution here. by AI on behalf of David — if you need David’s attention urgently, please @Git-on-my-level and escalate with |
Contributor
Author
|
Thanks for reviewing and merging! 🙏 Bounty Payout Details: |
This was referenced Oct 13, 2026
Merged
Git-on-my-level
added a commit
that referenced
this pull request
Oct 13, 2026
…21343 follow-ups) (#21425) * fix(app): restore green Flutter tests on main (#21302 #21340 #21341 #21343 follow-ups) Co-Authored-By: Claude Opus 5.5 <[email protected]> * fix(app): measure category card text heights Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
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.
Summary
Fixes #19241.
Fixes header height instability and alignment discrepancy when opening/closing search in Settings (
SettingsDrawer).Root Cause
Previously,
_buildHeaderinlib/pages/settings/settings_drawer.dartswapped between a 44 pt normal header and a 56 pt search header inside anAnimatedSwitcher. When opening search, the list beneath jumped down by 12 pt (and jumped back up when cancelled). Additionally, the search row padding wasfromLTRB(OmiSpacing.md, 0, OmiSpacing.xs, OmiSpacing.xs)(16 pt left padding), sitting 4 pt off the settings cards which have 20 pt left padding (OmiSpacing.lg).Fix Details
height: 48pt (SizedBox), ensuring the content below never jumps or shifts when toggling search.fromLTRB(OmiSpacing.lg, 0, OmiSpacing.xs, 0)so theOmiSearchFieldaligns flush at 20 pt with the settings cards.Verification
app/test/widgets/settings/settings_search_header_stability_test.dartverifying that toggling search keeps header height strictly at 48 pt, maintains list vertical position identically, and aligns search field at 20 pt.app/changelog/unreleased/20261012-settings-search-header-height-fixed.json.