tailwindlabs / tailwindcss.com

The Tailwind CSS documentation website.
https://tailwindcss.com
3.25k stars 1.72k forks source link

overscroll behaviour fixed #1848

Closed Jauharmuhammed closed 1 month ago

Jauharmuhammed commented 1 month ago
Screenshot 2024-07-23 at 3 53 00 PM

Browser : Chrome OS: macOS,

fixed the overscroll behaviour on the y axis using overscroll-behaviour-y on body to be none.

vercel[bot] commented 1 month ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
tailwindcss-com ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 23, 2024 10:41am
adamwathan commented 1 month ago

Hey! Agree the overscroll behavior here isn't ideal but I don't love the idea of disabling it either, makes it feel kinda broken compared to other websites to me. I think the better solution is trying to figure out how to build the same layout using sticky positioning instead of fixed positioning for the sidebar, but I feel like that's how we did it originally and we had other layout bugs as a result.

So going to say no to this particular fix for now but appreciate it the PR either way ❤️