-
-
Notifications
You must be signed in to change notification settings - Fork 9.2k
fix(theme-classic): temporarily disable toc heading autoscrolling #6748
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Closed
7 tasks
✔️ [V2] 🔨 Explore the source changes: ec87470 🔍 Inspect the deploy log: https://app.netlify.com/sites/docusaurus-2/deploys/62165b987d4df00007fe06ec 😎 Browse the preview: https://deploy-preview-6748--docusaurus-2.netlify.app |
⚡️ Lighthouse report for the changes in this PR:
Lighthouse ran on https://deploy-preview-6748--docusaurus-2.netlify.app/ |
Size Change: -36 B (0%) Total Size: 782 kB
ℹ️ View Unchanged
|
Josh-Cena
approved these changes
Feb 23, 2022
7 tasks
7 tasks
2 tasks
cmpadden
added a commit
to dagster-io/dagster
that referenced
this pull request
Mar 20, 2025
## Summary & Motivation Closes DOC-888. Introduces plugin to automatically `scrollIntoView()`the active left sidebar item. ``` plugins: [ require.resolve('./src/plugins/sidebar-scroll-into-view'), ], ``` This is a temporary workaround until it is re-introduced upstream (pending since 2022): [see source code](https://github.com/facebook/docusaurus/blob/f31bfec3c9a7e9e032a36ccd9b405b0e2c2f6957/packages/docusaurus-theme-common/src/hooks/useTOCHighlight.ts#L158). * facebook/docusaurus#6748 * facebook/docusaurus#6319 * facebook/docusaurus#7980 ## How I Tested These Changes Confirmed working as expected on localhost. ## Changelog - [docs] automatically scroll left sidebar into view on direct link to documentation
prha
pushed a commit
to dagster-io/dagster
that referenced
this pull request
Mar 21, 2025
## Summary & Motivation Closes DOC-888. Introduces plugin to automatically `scrollIntoView()`the active left sidebar item. ``` plugins: [ require.resolve('./src/plugins/sidebar-scroll-into-view'), ], ``` This is a temporary workaround until it is re-introduced upstream (pending since 2022): [see source code](https://github.com/facebook/docusaurus/blob/f31bfec3c9a7e9e032a36ccd9b405b0e2c2f6957/packages/docusaurus-theme-common/src/hooks/useTOCHighlight.ts#L158). * facebook/docusaurus#6748 * facebook/docusaurus#6319 * facebook/docusaurus#7980 ## How I Tested These Changes Confirmed working as expected on localhost. ## Changelog - [docs] automatically scroll left sidebar into view on direct link to documentation
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation
This change (#6317) led to issues, for which we don't have a perfect solution yet.
Let's disable this temporarily so that next release does not have the bugs, we'll reapply it properly later.
See
Have you read the Contributing Guidelines on pull requests?
yes
Test Plan
preview, basic revert