Skip to content

Commit

Permalink
bugfix: fixed animations not working correctly on TRANSITION.toggleab…
Browse files Browse the repository at this point in the history
…le with tailwind preset
  • Loading branch information
Tarik1700 committed Mar 16, 2024
1 parent 7d1dfa3 commit d9cdcbc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions components/lib/passthrough/tailwind/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ export const TRANSITIONS = {
timeout: 500,
classNames: {
enter: 'max-h-0',
enterActive: '!max-h-40 overflow-hidden transition-all duration-500 ease-in-out',
exit: 'max-h-40',
exitActive: '!max-h-0 overflow-hidden transition-all duration-500 ease-in'
enterActive: '!max-h-[1000px] overflow-hidden transition-[max-height] duration-500 ease-in',
exit: 'max-h-[1000px]',
exitActive: '!max-h-0 overflow-hidden transition-[max-height] duration-500 ease-out'
}
},
overlay: {
Expand Down

0 comments on commit d9cdcbc

Please sign in to comment.