Open kratos-digital opened 7 months ago
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?
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.
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.
Is there a way to change transition speed and timing function for settings modal? Now it's default 400ms linear.