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

Scroll to the selected line #1

Closed
wants to merge 1 commit into from
Closed

Conversation

lqez
Copy link
Owner

@lqez lqez commented Feb 16, 2019

Q A
Bug fix? yes
New feature? no
Breaking change? no
Deprecations? no
Tests added? no
Fixed issues no
License Apache-2.0

linenumber.js creates line numbers dynamically. In some cases, #linenumber does not work properly. So I added linenumberElement.scrollIntoView() to scroll manually.
XRef: mochajs/mocha-docdash#2

@lqez lqez closed this Feb 16, 2019
@lqez lqez deleted the fix-scroll-to-linenumber branch February 16, 2019 08:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant