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

[BUG] - why the twMerge is false in progress.ts #2153

Closed
chaiyilin opened this issue Dec 21, 2023 · 0 comments · Fixed by #2668
Closed

[BUG] - why the twMerge is false in progress.ts #2153

chaiyilin opened this issue Dec 21, 2023 · 0 comments · Fixed by #2668
Labels
🐛 Type: Bug Something isn't working

Comments

@chaiyilin
Copy link

NextUI Version

2.2.9

Describe the bug

the twMerge is false in progress.ts. then cannot customise Progress slots without twMerge

Your Example Website or App

No response

Steps to Reproduce the Bug or Issue

if we customise base in Progress
<Progress
ref={ref}
classNames={{
...{
base: 'flex flex-row-reverse',
},
...classNames,
}}
label={${current} of ${total}}
value={current}
maxValue={total}
{...props}
/>

Expected behavior

expecting the original flex-col will be replaced by flex-row-reverse. but in reality it is like 'flex-col flex-row-reverse'.
i searched the source code. it is caused by twMerge: false in progress.ts, which is odd because this is the only twMerge: false in the whole source code

Screenshots or Videos

No response

Operating System Version

macos 14.0 (23A344)

Browser

Chrome

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Type: Bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant