Ovski4 / jekyll-tabs

Add tabs on your pages with this Jekyll plugin
MIT License
26 stars 15 forks source link

Page scrolls to top every time a tab is clicked #13

Closed keriheuer closed 10 months ago

keriheuer commented 10 months ago

I just installed this plugin and used the example Markdown/Liquid from the README. It's placed half-way down my page as I have other sections above the tabs. I'd like to be able to click on the different tabs without the page jumping to the very top every time I switch tabs. Is there a way to prevent this behavior?

Ovski4 commented 10 months ago

Hello

I'm not sure how to reproduce this issue even if I have some ideas that could explain it. Could be the HTML markup, or maybe your website has other scripts conflicting with this plugin script?

Without more details I won't be able to help. Is your website live and public, and can I have access to it to investigate? Anything else you can provide that could be useful?

Ovski4 commented 10 months ago

Closing as not reproductible

q-wertz commented 6 months ago

I'm having the same issue but only on the mobile version (Firefox). Firefox on Desktop works fine.

Example: https://q-wertz.github.io/2024-04_navigation_auxiliary

Ovski4 commented 6 months ago

What's your version of Android and what's you version of Firefox (mobile)? I browsed your website using Firefox Mobile and it looks good to me, when clicking on tabs.

I'm on Android 13 and here is the Firefox build info

firefox-version

q-wertz commented 6 months ago

No idea what happened. Checked again today and it works now fine.

Android 13, Firefox 125.2.0, (same build as you have)

Last Firefox update was 3 days ago. Maybe something there fixed it