Skip to content

Add helper for stable button width during loading state transitions #286

@aniokedianne

Description

@aniokedianne

Summary
Buttons that switch between a label and a loading spinner often change width during the transition, causing surrounding layout to shift. A helper that reserves the button width during loading prevents this jump.

Scope

  • identify buttons in the UI that visibly shift width when entering a loading state
  • add a helper or style pattern that preserves the button width during loading
  • apply the helper to at least one confirmed instance

Acceptance Criteria

  • the affected button does not change width when transitioning to loading state
  • the label and spinner are each displayed at the correct size within the stable width
  • the helper is easy to apply to other buttons that need the same behavior

Contributor coordination: if you pick this up, reach out in Telegram for updates or clarification: https://t.me/accesslayerorg

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions