Closed RexHung0302 closed 1 year ago
I use getScrollY() and getScrollX(), get this is not a function.
can find this api at doc where https://alvarotrigo.com/fullPage/docs/#getscrolly--getscrollx
useEffect(() => { if (!window.fullpage_api) return; console.log(window.fullpage_api.getScrollY()); // This was failed }, []);
@fullpage/react-fullpage": "0.1.22
Versions @fullpage/react-fullpage": "0.1.22
Update to the latest version 0.1.40 ;)
Thank for reply~
Description
I use getScrollY() and getScrollX(), get this is not a function.
can find this api at doc where https://alvarotrigo.com/fullPage/docs/#getscrolly--getscrollx
Steps to reproduce it
Versions
@fullpage/react-fullpage": "0.1.22