How To Fix Next.js Freeze (Cannot Scroll) On Mobile View After Navigating To A Different Page

Viewed 359

I have detected a weird bug on mobile view on my Next.js + Bootstrap demo project. On mobile phone, use the burger menu to navigate to a new page and then try to scroll down. It sticks/freezes/hangs and I don’t know why. I have tried everything to resolve the problem but no progress. Any ideas? Link to the source code - https://stackblitz.com/edit/nextjs-lezt1f

Thanks

1 Answers

in layout.tsx just add overflow: 'visible' like and it will work :D style={{ width: '100%', height: '0.5rem', overflow: 'visible' }}

Related