Wiki title highlighting only after reload
RedstoneFuture opened this issue · 1 comments
RedstoneFuture commented
Turbotailz commented
I believe this is because of vue-router programmatically updating the window location, it's not a native page load event when you navigate the website. I don't think the :target
selector (which I've used to highlight the headings) can check when the URL is updated via JavaScript.
I couldn't find any solutions to this when I was building it initially. I could probably come up with a hacky workaround, though.