-
Notifications
You must be signed in to change notification settings - Fork 279
Fix button spinner + label on async pending state #5713
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Conversation
| : styles.labelTertiary, | ||
| children == null ? null : styles.labelWithIcon | ||
| ] | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bug: Inconsistent Visibility in Spinner/Pending States
The button's label now hides on spinner || pending, but the contentRowStyle (for icons/children) only hides on spinner. This inconsistency leaves icons visible alongside the spinner overlay when pending is true, while the label is hidden. Additionally, the labelInvisible style replaces labelBase, potentially losing includeFontPadding: false and causing subtle layout shifts.
Additional Locations (2)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure I fully understand this AI comment, but it might be worth double-checking.
swansontec
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved, assuming the AI review is wrong. If the AI review is right, then perhaps we could fix that.
| : styles.labelTertiary, | ||
| children == null ? null : styles.labelWithIcon | ||
| ] | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure I fully understand this AI comment, but it might be worth double-checking.
CHANGELOG
Does this branch warrant an entry to the CHANGELOG?
Dependencies
noneRequirements
If you have made any visual changes to the GUI. Make sure you have: