Describe the problem
The opacity is multiplied by 20 which pushes it over 1 nearly instantly.
See
|
`opacity: ${Math.min(t * 20, 1) * opacity};` + |
Describe the proposed solution
Control the opacity scaling factor. Alternatively remove the factor altogether, making it behave the same as the fade transition.
Alternatives considered
You can create your own transition combining the slide transition and a manual change of opacity.
Importance
would make my life easier