Skip to content

Commit

Permalink
Merge pull request #6167 from Tarik1700/master
Browse files Browse the repository at this point in the history
Issue - #5540 -  Bugfix: fixed animations not working correctly on TRANSITION.toggleable with tailwind preset
  • Loading branch information
nitrogenous authored Mar 18, 2024
2 parents 7c7b8a8 + 8ae8cf3 commit 5a353ca
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 5a353ca

Please sign in to comment.