open-ui icon indicating copy to clipboard operation
open-ui copied to clipboard

[Documentation] Permalinks to anchored positions not working

Open bramus opened this issue 2 years ago • 0 comments

I noticed that none of the permalinks to anchored positions – such as https://open-ui.org/components/popup.proposal.alternatives#alternative-dedicated-popup-element – are working. This is because the id attributes on the headings are injected through JavaScript.

Preferably these id attributes are already in the content without the need for JavaScript. Awaiting a proper solution, a temporary and quick fix would be to extend the script that injects those attributes so that it also scrolls to the URL's hash.

bramus avatar Jun 01 '22 18:06 bramus