Skip to content
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

Button: Spinner displays twice when count property is set and loading is true #5600

Closed
mateo-leal opened this issue Jan 27, 2025 · 1 comment · Fixed by #5605
Closed

Button: Spinner displays twice when count property is set and loading is true #5600

mateo-leal opened this issue Jan 27, 2025 · 1 comment · Fixed by #5605
Assignees
Labels
bug Something isn't working react

Comments

@mateo-leal
Copy link

mateo-leal commented Jan 27, 2025

Description

When the Button component's loading property is set to true and the count property is also provided, the spinner icon is displayed twice on the button.

Screenshot showing the error in Storybook

Steps to reproduce

  1. Go to Storybook
  2. Set count to any value and loading to true

Version

v37.11.0

Browser

Chrome

@mohammadazaruddinshaik
Copy link

maintain spinner if there is a count when loading. Avoid conflicts when counter is loaded . replace spinner.

@Sazwan96 Sazwan96 mentioned this issue Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working react
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants