react-awesome-reveal icon indicating copy to clipboard operation
react-awesome-reveal copied to clipboard

Buggy fraction prop

Open ovcOS opened this issue 4 years ago • 3 comments

When the fraction prop is present in any component and an animation begins outside of the viewport, the animation gets stuck. To reproduce, try a <Roll> or <Slide>, positioning the component on the very left of the viewport. Inspecting the HTML reveals a forever-twitching class.

I'm on version 3.4.0

ovcOS avatar Feb 12 '21 16:02 ovcOS

Having the same issue @morellodev

issue

janhoeck avatar May 25 '21 17:05 janhoeck

Try adding "triggerOnce"

bradniksa avatar May 27 '21 17:05 bradniksa

Adding trigger once solves the issue but still, it should work regardless of adding it

Alinaswe3 avatar Jul 04 '23 22:07 Alinaswe3