Closed aaronculp-droneup closed 3 months ago
only showing value=0 so show that no matter the value resizing the browser is root cause
fixed by updating transform: "step(1) -> arrive -> step(1)", to transform: "arrive(1, 1, false, true)",
@aaronculp-droneup sounds like it's fixed, I'll close the issue then.
I had a counter that initialized at 0, when I resize the browser or a user on iPhone scrolls left/right slightly the counter starts to count infinitely.
No errors in console on why this happens..
Here is my component: ` import React, { useRef, useEffect } from "react"; import Tick from "@pqina/flip"; import "@pqina/flip/dist/flip.min.css"; import './index.css';
export const Flipr = ({ value }) => { const divRef = useRef(); const tickRef = useRef();
}; `
App.js:
`
`
package.json -- "@pqina/flip": "1.7.5",