octopusthink / nautilus

Inclusive, open-source design system and React component library.
https://nautilus.octopusthink.com
MIT License
2 stars 0 forks source link

Button :active state delays because of animation #181

Closed tofumatt closed 4 years ago

tofumatt commented 4 years ago

The button top is now being affected by the transition: all 200ms ease-in-out; rule in Button. You can see the delay clicking on it here:

2019-09-24 12 43 00

Best route is to either set the transition length to 0ms or use a shorter, inverse curve animation like 100ms ease.