diff --git a/packages/stack/src/views/Stack/Card.tsx b/packages/stack/src/views/Stack/Card.tsx index 037f4176..09586186 100755 --- a/packages/stack/src/views/Stack/Card.tsx +++ b/packages/stack/src/views/Stack/Card.tsx @@ -254,7 +254,9 @@ export default class Card extends React.Component { // If the style updates during render, setting the value here doesn't work // We need to defer it a bit so the animation starts properly requestAnimationFrame(() => - this.isClosing.setValue(closing ? TRUE : FALSE) + requestAnimationFrame(() => + this.isClosing.setValue(closing ? TRUE : FALSE) + ) ); } }