Browser does not scroll to an item hidden in a collapsed details HTML element #7165
Closed
6 of 7 tasks
Labels
bug
An error in the Docusaurus core causing instability or issues with its execution
closed: working as intended
This issue is intended behavior, there's no need to take any action.
Have you read the Contributing Guidelines on issues?
Prerequisites
npm run clear
oryarn clear
command.rm -rf node_modules yarn.lock package-lock.json
and re-installing packages.Description
Clicking an item from the TOC on the right does not scroll down to the section if the selected item is in a collapsed details HTML element.
It works expected when the details section is expanded.
Reproducible demo
https://codesandbox.io/s/runtime-wood-96c61u?file=/docs/issue.md
Steps to reproduce
Expected behavior
Once the item from the TOC is clicked, the
details
section will expand automatically and browser will scroll to the header.Actual behavior
Browser does not scroll to the item selected.
Your environment
Self-service
The text was updated successfully, but these errors were encountered: