js-tailwind icon indicating copy to clipboard operation
js-tailwind copied to clipboard

Transitions for Collapses

Open afc-profile opened this issue 5 years ago • 0 comments

This issue refers to the fact that at the moment, when you open a Collapse component, it is opened quite rapidly, and it would be better to have a smooth transition on it's opening. Example of nice transitions:

  • https://getbootstrap.com/docs/4.4/components/navbar/#external-content
  • https://codepen.io/mbxtr/pen/pCfcy
  • https://www.w3schools.com/howto/howto_js_collapsible.asp
  • We could make use of one of these from tailwindcss:
    • https://tailwindcss.com/docs/transition-property/
    • https://tailwindcss.com/docs/transition-delay/
    • https://tailwindcss.com/docs/transition-property/
    • https://tailwindcss.com/docs/translate/

afc-profile avatar May 11 '20 12:05 afc-profile