Remove global scroll-behavior:smooth that prevented pages from starting at top

Fixkamo-marketing
Ya
31 Machi 2026, 22:24 UTC
Mwandishi
Kamo
Ahadi ya
16a932a

The html element had scroll-behavior:smooth globally, which caused Next.js client-side navigation to slowly smooth-scroll from the previous scroll position instead of starting at the top of the new page. Removed the global rule — all in-page smooth scrolling (JumpToBar, BackToTop, ScrollSpyNav, etc.) already uses window.scrollTo with behavior:'smooth' directly, so those are unaffected.

Mabadiliko yote

Je, unaona nini kuhusu usafiri?

Kila moja ya hizi updates ardhi katika nafasi yako ya kazi moja kwa moja. Kuanza bure na kuangalia kukua wiki baada ya wiki.

Kuwa Huru MileleMtazamo wa bei