Closed alex-cory closed 3 years ago
Hi @alex-cory 👋🏻
Good catch! 👏🏻 The spring config is only used for the snapping behaviour and I forgot to add it to the AnimatePresence
related animation. This should be an easy fix in SheetContainer
:
animate={{
y: initialY,
transition: { type: 'spring', ...springConfig },
}}
This is fixed in v1.4.0
✌🏻
See the codesandbox