[TechDocs] clicking on an item in the table of contents results in not scrolling to the respective anchor
See original GitHub issueExpected Behavior
When clicking on Prerequisites
item in the table of contents, the page should scroll to the respective anchor
Actual Behavior
When clicking on Prerequisites
item in the table of contents, the page is not scrolling to the respective anchor
Steps to Reproduce
- Go to https://demo.backstage.io/docs/default/component/backstage/getting-started/running-backstage-locally/
- Click on for example
Prerequisites
in the table of contents. - See how the page is not scrolling to the correct anchor
Prerequisites
Your Environment
Issue Analytics
- State:
- Created a year ago
- Reactions:3
- Comments:11 (8 by maintainers)
Top Results From Across the Web
Guide to scroll anchoring - CSS: Cascading Style Sheets | MDN
Scroll anchoring is a browser feature that aims to solve this problem of content jumping, which happens if content loads in after the...
Read more >Highlighting item in table of contents when section is active on ...
I modified randomdude's answer to highlight the lowest scrolled-to header. This will persist highlighting of that link until the user ...
Read more >Barcode Input - Zebra Technologies TechDocs
It configures the scanner parameters specifying how the barcode is scanned, including the selected scanner (e.g. camera, 2D Imager, Bluetooth scanner, etc.), ...
Read more >Sticky Table of Contents with Scrolling Active States | CSS-Tricks
That active bit is handled nicely with IntersectionObserver , which is, like, the perfect API for this. Here's that result: HTML; CSS; JS....
Read more >How To Create a Smooth Scrolling Effect - W3Schools
Cross-browser Solution. For browsers that do not support the scroll-behavior property, you could use JavaScript or a JavaScript library, like jQuery, to create ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@Irma12 @iammnils We can reproduce and will get back with an update
Just opened a very simple PR with the fix https://github.com/backstage/backstage/pull/14031