timlrx / tailwind-nextjs-starter-blog

This is a Next.js, Tailwind CSS blogging starter template. Comes out of the box configured with the latest technologies to make technical writing a breeze. Easily configurable and customizable. Perfect as a replacement to existing Jekyll and Hugo individual blogs.
https://tailwind-nextjs-starter-blog.vercel.app/
MIT License
8.54k stars 1.98k forks source link

Navigation and Scrolling Issues in Responsive Blog Template #803

Closed Bamschool closed 7 months ago

Bamschool commented 9 months ago

Hi! Thank you so much for making those templates for people.

I found some issues.

Context & Functionality: In the blog template, there are options to navigate to the previous ('PRE') and next ('NEXT') blog posts. The navigation links are responsive, appearing on the left side in wide screen layouts and at the bottom of the post content in narrow screen layouts.

Observed Issue: When using the template in a narrow screen layout (where navigation links are positioned at the bottom), clicking on the 'next'(under Next Article) link to navigate to the following blog post results in an unexpected scrolling behavior. Specifically, upon transitioning to the next page, the scrollbar automatically moves downwards, scrolling through the page content

Thank you.

스크린샷 2023-12-18 오후 9 55 32
timlrx commented 8 months ago

Hmm, I am not able to replicate, it always navigates and remain at the top of the page. Could you provide more details on the browser that you are using?