justin-schroeder / arrow-js

Reactivity without the framework
https://arrow-js.com
MIT License
2.4k stars 49 forks source link

[bug] Docs navigation indicator is bugged scrolling past "Getting Started" #84

Closed PickleNik closed 8 months ago

PickleNik commented 1 year ago

It switches back to "Getting Started" when scrolling past it

https://github.com/justin-schroeder/arrow-js/assets/31113245/fbe4045a-bcf4-4dfd-88c6-a0397494a14a

Maybe it has to do with how the docs contents are structured with Examples and Changelog <h1>s being inside the <section> instead of on the same level like in "Getting Started", assuming that's what intersection observer expects.

Screenshot 2023-07-28 at 2 13 54 PM
PickleNik commented 1 year ago

I think I figured out a fix for it