We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The Sphinx Preview extension doesn't scroll to the correct position inside the iframe. It should scroll to the target ID but currently doesn't.
In the assets/template_sphinx_preview.js file, I found that the function scrollToContent uses the anchor tag and href attribute to find the position.
assets/template_sphinx_preview.js
scrollToContent
I suggest using the ID directly to find the position inside the iframe because it's unique in the HTML document.
It would be better if there is a configuration to set the scrolling offset inside the iframe.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The Sphinx Preview extension doesn't scroll to the correct position inside the iframe. It should scroll to the target ID but currently doesn't.
In the
assets/template_sphinx_preview.js
file, I found that the functionscrollToContent
uses the anchor tag and href attribute to find the position.I suggest using the ID directly to find the position inside the iframe because it's unique in the HTML document.
It would be better if there is a configuration to set the scrolling offset inside the iframe.
The text was updated successfully, but these errors were encountered: