You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Buttons without an icon have no margin between the loading spinner and the button text. Although, I'm not entirely sure if this is a bug or intended behavior.
melloware
added
Type: Bug
Issue contains a defect related to a specific component.
and removed
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
labels
May 1, 2023
Describe the bug
Buttons without an icon have no margin between the loading spinner and the button text. Although, I'm not entirely sure if this is a bug or intended behavior.
Reproducer
https://codesandbox.io/s/primereact-demo-forked-u2xxwe?file=/src/App.js
PrimeReact version
9.3.1
React version
18.x
Language
TypeScript
Build / Runtime
Create React App (CRA)
Browser(s)
No response
Steps to reproduce the behavior
Create a button without setting an icon, set the loading state.
Expected behavior
I would expect there to be some padding, similar to the padding there is when a button has an icon.
The text was updated successfully, but these errors were encountered: