numberscope / frontscope

Numberscope's front end and user interface: responsible for specifying sequences and defining and displaying visualizers
MIT License
7 stars 14 forks source link

docsite doesn't seem to scroll to the correct place on anchor links #320

Open gwhitney opened 2 months ago

gwhitney commented 2 months ago

To reproduce, go to the documentation and in the nav bar on the left, click on "Building a Visualizer", and once the subheadings list pops up, click on "Making a p5 visualizer, in detail". The doc page display on the right will autoscroll, but it seems to go a bit too far -- the "Making a p5 visualizer" heading and the first line of text below it are obscured. You have to scroll back up a bit in order to see them.

It seems perhaps that it's not really scrolling too far, but instead that the Numberscope top bar is being overlaid on top of the documentation view, rather than the documentation view being displayed just below the top bar. I suspect that fixing this issue is likely to also resolve #179 (so we probably shouldn't just "wait another eighteen months" ;-)