everweij / react-laag

Hooks to build things like tooltips, dropdown menu's and popovers in React
https://www.react-laag.com
MIT License
906 stars 44 forks source link

[BUG] Animation randomly initialized top left w/ framer-motion #68

Closed smontlouis closed 2 years ago

smontlouis commented 3 years ago

Describe the bug Using framer-motion with react-laag, I found that from time to time the component is initialized at the very top left and moves to its original location.

To Reproduce Go to this link and try to randomly reload the page.

Expected behavior The component should appear in its original location

Screenshots

https://user-images.githubusercontent.com/3509412/117099616-e7fd9f00-ad71-11eb-9138-e9cd8cfdc2e8.mp4