Page 1 of 1

Bookmarks & ScrollSpy

Posted: Sat Mar 28, 2026 7:35 am
by AliGW
I am experimenting with bookmarks in a navigation menu.

I have an anchor top left on my page connected to the HOME button. Other buttons (e.g. ABOUT) are linked to layout grids further down the page. I have ScrollSpy enabled.

By default, HOME is highlighted in my menu. I click on ABOUT.

Expected: ABOUT will now be highlighted and the page will scroll to the ABOUT layout grid, leaving it at the top of the viewport, below my navigation menu.
Observed: ABOUT is highlighted on the menu bar as expected, but the layout grid appears at the bottom of the viewport.

I now click on HOME.

Expected: HOME will now be highlighted and the page will scroll to the anchor at the top of the viewport.
Observed: ABOUT remains highlighted on the menu bar instead of HOME, and the page scrolls back to the top of the viewport, as expected.

This is more about observations at the moment, so I won't provide a demo file. I just want to understand how these things are meant to work.

Re: Bookmarks & ScrollSpy

Posted: Sat Mar 28, 2026 8:10 am
by Pablo
Scrollspy is a standard Bootstrap feature (https://getbootstrap.com/docs/5.3/components/scrollspy/). So, I have no control over the exact behavior.
But I also have noticed that is sometimes can be a little bit tricky with the placement of anchors (bookmark).

In my demo it seems to work correct:
https://www.wysiwygwebbuilder.com/suppo ... _demo.html

Re: Bookmarks & ScrollSpy

Posted: Sat Mar 28, 2026 8:42 am
by AliGW
Thanks, Pablo - yes, it does seem a bit glitchy! It seems to work for me if the bookmark I am scrolling back to is far enough up the page, in other words, as long as the two bookmarks are not visible at the same time in the viewport. I may well be able to rig it so that this happens, but it doesn't seem quite right. In principle, it's a nice feature, though. Thank you - I think I can work round its limitations.