mirror of
https://github.com/remvze/moodist.git
synced 2026-02-23 19:40:03 -05:00
fix: fix some animation issues
This commit is contained in:
parent
fa7b90eeec
commit
eccba87557
@ -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…
x
Reference in New Issue
Block a user