Skip to content

Conversation

@AlanFnz
Copy link
Member

@AlanFnz AlanFnz commented Dec 4, 2024

What

Preserves button width during loading state by wrapping children and spinner in separate containers, hiding children with opacity and visibility

Media

default-loading.mov
with-icon-loading.mov

Why

Improves the layout consistency

Copy link
Contributor

@shiba-codes shiba-codes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@AlanFnz AlanFnz merged commit 784b5d2 into freenowtech:main Dec 5, 2024
5 checks passed
github-actions bot pushed a commit that referenced this pull request Dec 5, 2024
### [2.20.1](v2.20.0...v2.20.1) (2024-12-05)

### Bug Fixes

* keep button content in order to maintain the width in loading state ([#504](#504)) ([784b5d2](784b5d2))
@github-actions
Copy link
Contributor

github-actions bot commented Dec 5, 2024

🎉 This PR is included in version 2.20.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

2 participants