Skip to content

Commit

Permalink
fix(editor): transition in initial fallback reactive settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Novout committed Sep 27, 2022
1 parent 15c3378 commit b713683
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@
const motion = useMotion(container, variants)
useIntersectionObserver(container, ([{ isIntersecting }]) => {
if(!EDITOR.configuration.transition) return
isIntersecting
? (motion.variant.value = 'enter')
: (motion.variant.value = 'initial')
Expand Down

0 comments on commit b713683

Please sign in to comment.