StarCitizenTools / mediawiki-extensions-TabberNeue

A MediaWiki extension that allows wiki to create tabs.
https://www.mediawiki.org/wiki/Extension:TabberNeue
GNU General Public License v3.0
13 stars 15 forks source link

Bug with TOC heading switching #156

Closed keepersdungeon closed 3 months ago

keepersdungeon commented 3 months ago

Hello, With latest version 2.2.4, there seems to interfere with the TOC, if you're jumping from one heading to another and there's a heading in the middle that has a tag the scrolling on the page stops on it and does not continue to the heading you initially clicked on your TOC

MW 1.41 tabberneue 2.2.4 PHP 8.1

alistair3149 commented 3 months ago

Thanks for the report. Do you have a live demo of the example?

keepersdungeon commented 3 months ago

Hello @alistair3149 , I can't link to my wiki as it's private but the same happens here https://starcitizen.tools/Crusader_Industries if you jump to 'see also' when the page loads it will stop on 'jurisdiction' (u need to click on 'see also' a second time to go to the section). Once u're on 'see also' if you try to jump back to 'History', it will stop on 'jurisdiction' as well. Switching between heading without tabber seems fine

alistair3149 commented 3 months ago

Ah that is a bug with the Citizen skin. It is a known issue that is being looked into. Sometimes on longer pages, pure CSS smooth scroll refuses to scroll all the way to the target.

keepersdungeon commented 3 months ago

Ah alright, thought it was TabberNeue that was interfering. Thanks for the info!

alistair3149 commented 3 months ago

On a side note, this should also be patched on Citizen. Since this is resolved, I'm closing the issue now.