-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Description
Describe the bug
When I click on a link in the explorer, if that page is long (ie, has a scrollbar), the content page scrolls down slightly (as if to align with the link on the explorer)
To Reproduce
Steps to reproduce the behavior:
- Go to https://dansgarden.eu
- Click on Technology/Projects, then "Smart plant sensors"
- See content page scroll incorrectly further down
Going directly to https://dansgarden.eu/projects/plant-sensors also seems to trigger this.
Alternatively
- Clone quartz repo with docs as content
- change
enableSPA: false,
in the quartz config - build and serve locally
- navigate to localhost:8080/features/syntax-highlighting and observe the same scrolling behaviour
Expected behavior
I'd expect the content page not to scroll.
I initially thought this was an issue with a modification I did, but after redoing everything from scratch, step by step, I was finally able to detect it seems to be caused by the enableSPA: false,
. I have now been able to reproduce it with the original quartz repo and site (provided the change is made on the config file with enableSPA: false,
).
I am using enableSPA: false,
in order to use Cloudflare's email obfuscation. Without it, the email addresses are not being deobfuscatted.