Closed odessy closed 2 years ago
Should the progress variable be abs to prevent a case where it may be negative. This would result in 1 - (- progress) a value greater than 1.
abs
1 - (- progress)
https://github.com/metafizzy/flickity-fade/blob/213fec88d04539b32ae15998166f364815f7f5fe/flickity-fade.js#L144
I don't have exact steps to replicate this issue but this was the outcome after tracing the issue a -progress.
same as https://github.com/metafizzy/flickity-fade/issues/1
Should the progress variable be
abs
to prevent a case where it may be negative. This would result in1 - (- progress)
a value greater than 1.https://github.com/metafizzy/flickity-fade/blob/213fec88d04539b32ae15998166f364815f7f5fe/flickity-fade.js#L144
I don't have exact steps to replicate this issue but this was the outcome after tracing the issue a -progress.