wiki icon indicating copy to clipboard operation
wiki copied to clipboard

Weebly wobbly TOC at some resolutions

Open samueldr opened this issue 6 years ago • 0 comments

[10:20:00] <-> lassulus_ is now known as lassulus
[10:36:01] <infinisil> Hey, I found a bit buggy behaviour with the webpage
[10:37:29] <infinisil> When the table of contents is at the bottom, and you scroll to the very bottom of the page, it seems to auto-collapse, but then expand again right after that
[10:37:43] <infinisil> This has the effect that I can't ever scroll to the links at the bottom and click them
[10:38:13] <samueldr> infinisil: page
[10:38:13] <infinisil> This seems to only happen at a rather specific zoom level/site width
[10:38:23] <infinisil> https://nixos.wiki/wiki/Node.js
[10:38:54] <samueldr> I see it
[10:39:06] <samueldr> in mobile-form, at least
[10:39:19] <infinisil> Cool
[10:39:21] <samueldr> ~386px
[10:39:39] <samueldr> ~400px too
[10:39:43] <samueldr> how weird
[10:40:08] -*- infinisil nods
[10:40:26] <samueldr> looks like it's the scrollspy that tries to close a sub-header
[10:40:51] <samueldr> but by closing it it scrolls upwards, needing a re-open
[10:41:00] <samueldr> weebly wobly timey wimey web stuff
[10:42:12] <infinisil> A nice feedback loop :)

cc @Infinisil


Possible resolution steps:

  • Update tweeki base theme
  • Verify it does it without NixOS wiki additions
  • THEN, find out whether it's a tweeki addition, stock bootstrap, and try to fix it.

samueldr avatar Aug 29 '18 14:08 samueldr