shadowwalker / next-pwa

Zero config PWA plugin for Next.js, with workbox 🧰
MIT License
3.86k stars 323 forks source link

Navigation doesn't work in offline fallback page #387

Closed SahilAggarwal2004 closed 2 years ago

SahilAggarwal2004 commented 2 years ago

Summary

What can I help with? Please keep this clear and concise.

Versions

Everything works fine when I try to access a page which is not cached in offline mode, the /_offline fallback page in shown. But in there when I try to navigate to some other page (that is cached) using the navbar containing from 'next/link', it doesn't navigate to the cached pages.

SahilAggarwal2004 commented 2 years ago

Sorry! I was doing a silly mistake...

skellertor commented 1 year ago

@SahilAggarwal2004 can you share what you were doing? I am having the same issue

SahilAggarwal2004 commented 1 year ago

@SahilAggarwal2004 can you share what you were doing? I am having the same issue

Ohh, actually that was a very silly mistake from my side. There was some problem with the z-index of my navbar. Try increasing the value of z-index of your navbar.