mirror of
https://github.com/remvze/moodist.git
synced 2025-12-17 08:54:13 +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>
|
</motion.button>
|
||||||
|
|
||||||
<AnimatePresence>
|
<AnimatePresence mode="popLayout">
|
||||||
{(!noSelected || hasHistory) && (
|
{(!noSelected || hasHistory) && (
|
||||||
<motion.div
|
<motion.div
|
||||||
animate={{ opacity: 1, x: 0 }}
|
animate={{ opacity: 1, x: 0 }}
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,7 @@ export function Category({
|
||||||
animate={{ opacity: 1 }}
|
animate={{ opacity: 1 }}
|
||||||
className={styles.category}
|
className={styles.category}
|
||||||
initial={{ opacity: 0 }}
|
initial={{ opacity: 0 }}
|
||||||
layout
|
layout="position"
|
||||||
>
|
>
|
||||||
<div className={styles.iconContainer}>
|
<div className={styles.iconContainer}>
|
||||||
<div className={styles.tail} />
|
<div className={styles.tail} />
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue