Skip to content
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

doc: scroll to page top on navigation #324

Merged
merged 1 commit into from
Mar 25, 2020

Conversation

maximivanov
Copy link
Contributor

Problem: currently when navigating from page to page in docs, scroll position is maintained.
E.g. go to https://theoephraim.github.io/node-google-spreadsheet/#/classes/google-spreadsheet, scroll to addSheet and click on GoogleSpreadsheetWorksheet reference. You will get to the Worksheet page, but scroll will stuck somewhere in the middle of the page.

Solution: enable auto2top setting in docsify config. Looks like Docsify will have it on by default and config option will be removed altogether in v5: docsifyjs/docsify#744 (comment)

@theoephraim theoephraim merged commit 8532ea6 into theoephraim:master Mar 25, 2020
@theoephraim
Copy link
Owner

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants