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
Since updating 2.2.9, the styles apply on first render, but any subsequent renders (e.g. opening a modal) causes reverts the button styles back to the original default gray styling.
On render:
After opening a modal:
Your Example Website or App
No response
Steps to Reproduce the Bug or Issue
Install NextJS with NextUI
Extend variants of Button and apply
Expected behavior
The button styles should be consistent, rather than reverting to the default styles
Screenshots or Videos
No response
Operating System Version
Windows
Browser
Chrome
The text was updated successfully, but these errors were encountered:
Having the same issue. When navigating back from another page, the defaults variants are broken, but If I explicitly set the props on my component they don't break.
NextUI Version
2.2.9
Describe the bug
I am extending the Button component with some variants and it's been working great:
Since updating 2.2.9, the styles apply on first render, but any subsequent renders (e.g. opening a modal) causes reverts the button styles back to the original default gray styling.
On render:
After opening a modal:
Your Example Website or App
No response
Steps to Reproduce the Bug or Issue
Install NextJS with NextUI
Extend variants of Button and apply
Expected behavior
The button styles should be consistent, rather than reverting to the default styles
Screenshots or Videos
No response
Operating System Version
Windows
Browser
Chrome
The text was updated successfully, but these errors were encountered: