Skip to content

[codex] Smooth toolbar label expansion animation#347

Draft
stoopboop wants to merge 1 commit into
Moonfin-Client:mainfrom
stoopboop:codex/smooth-toolbar-label-animation
Draft

[codex] Smooth toolbar label expansion animation#347
stoopboop wants to merge 1 commit into
Moonfin-Client:mainfrom
stoopboop:codex/smooth-toolbar-label-animation

Conversation

@stoopboop

Copy link
Copy Markdown

Summary

  • Keep toolbar button labels mounted while animating expansion/collapse.
  • Animate label width and opacity instead of inserting/removing the label subtree during hover/focus changes.
  • Slightly lengthen the expansion duration for a less abrupt transition.

Why

The top toolbar currently changes button width while also adding/removing the text label from the widget tree. On hover or focus changes this can produce visible flashing and uneven size transitions. Keeping the label subtree stable makes the animation closer to the cleaner tvOS-style behavior without replacing the whole navbar implementation.

Validation

  • git diff --check passed.
  • Attempted targeted dart analyze earlier in this checkout, but package dependencies are unresolved locally, including Flutter package imports, so analysis could not produce useful patch-specific results.

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