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

Change transition speed for settings modal #62

Open
kratos-digital opened this issue Jan 17, 2024 · 3 comments
Open

Change transition speed for settings modal #62

kratos-digital opened this issue Jan 17, 2024 · 3 comments

Comments

@kratos-digital
Copy link

Is there a way to change transition speed and timing function for settings modal? Now it's default 400ms linear.

@antony
Copy link
Member

antony commented Feb 12, 2024

Only by allowing it as a customisation option, or, if there is a better default we can just change it - what did you want it to be?

@kratos-digital
Copy link
Author

There is not some standard, as I know of, but most of the UIs (I think) use 200-250ms as the default duration. I think it would be good to have it as optional prop to pass to the component.

@silllli
Copy link

silllli commented Jun 5, 2024

I second that it would be great to be able to adjust the transition speed. It’s an individual design choice, and it makes sense to adjust it to align with the rest of the website.

In my case there is a pretty big difference (I use 75 ms to 150 ms, depending on the size of the element to toggle), so the cookie banner transitions feel odd.

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

3 participants