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] - Input transition duration does not work #2933

Open
CD-Z opened this issue May 2, 2024 · 4 comments
Open

[BUG] - Input transition duration does not work #2933

CD-Z opened this issue May 2, 2024 · 4 comments

Comments

@CD-Z
Copy link

CD-Z commented May 2, 2024

NextUI Version

2.3.6

Describe the bug

The border of the input variants bordered, underlined and faded has no transition. This is inconsistent with the Select component, which has transitions on these variants.

This can even be seen on the official page.

Your Example Website or App

https://nextui.org/docs/components/input

Steps to Reproduce the Bug or Issue

Use the Input Component

Expected behavior

Consistent behavior throughout the package

Screenshots or Videos

No response

Operating System Version

Linux TuxedoOS 2

Browser

Chrome

Copy link

linear bot commented May 2, 2024

@wingkwong
Copy link
Member

I don't get which transitions you mean. Can you elaborate more?

@CD-Z
Copy link
Author

CD-Z commented May 2, 2024

I don't get which transitions you mean. Can you elaborate more?

I'm referring to the color transition of the border.
I looked into it some more and created a CodeSandbox.

There I found that the class transition-colors gets overwritten by transition-background.
image

However this class transition-background doesn't exist on the Select component.
image

@CD-Z
Copy link
Author

CD-Z commented May 2, 2024

Which adds the problem that the Select Component has no animation on the flat variant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants