rcaferati / react-awesome-slider

React content transition slider. Awesome Slider is a 60fps, light weight, performant component that renders an animated set of production ready UI general purpose sliders with fullpage transition support for NextJS and GatsbyJS. 🖥️ 📱
https://fullpage.caferati.me
MIT License
2.92k stars 294 forks source link

Issue in Navigation HOC without startupScreen page #194

Open farhanshaikhdk opened 2 years ago

farhanshaikhdk commented 2 years ago

I am using full-screen navigation HOC feature it works fine if I use it with a startupScreen page but if i make my website without startupScreen then it causes an issue which is- URL doesn't change on user's first interaction that is with side navigation button or header navigation but when user interacts for second time URL starts working fine. Can anyone please suggest any option to use in this package without startupScreen page.

Code example that I'm following is: https://github.com/rcaferati/ras-fullpage-strategies/tree/master/nextjs-example

AlanWendorff commented 1 year ago

Hi! A work around is navigate with Next.js Link component since the slides/screens are already mapped with their own path. If I'm not mistaken, it would no longer be necessary to use the HOC withNavigationHandlers