mirror of
https://github.com/remvze/moodist.git
synced 2025-12-17 00:44:14 +00:00
fix: fix some animation issues
This commit is contained in:
parent
fa7b90eeec
commit
eccba87557
2 changed files with 2 additions and 2 deletions
|
|
@ -90,7 +90,7 @@ export function Buttons() {
|
|||
)}
|
||||
</motion.button>
|
||||
|
||||
<AnimatePresence>
|
||||
<AnimatePresence mode="popLayout">
|
||||
{(!noSelected || hasHistory) && (
|
||||
<motion.div
|
||||
animate={{ opacity: 1, x: 0 }}
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ export function Category({
|
|||
animate={{ opacity: 1 }}
|
||||
className={styles.category}
|
||||
initial={{ opacity: 0 }}
|
||||
layout
|
||||
layout="position"
|
||||
>
|
||||
<div className={styles.iconContainer}>
|
||||
<div className={styles.tail} />
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue