-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Fix scrolling to resolved comment anchors #13343
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
Fix scrolling to resolved comment anchors #13343
Conversation
As described on discord, when the window.location.hash refers to a resolved comment then the scroll to functionality does not work. This PR fixes this. Signed-off-by: Andrew Thornton <[email protected]>
Co-authored-by: silverwind <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did not test this but change seems benign enough to not cause issues.
Codecov Report
@@ Coverage Diff @@
## master #13343 +/- ##
==========================================
- Coverage 42.15% 42.14% -0.01%
==========================================
Files 690 690
Lines 75888 75888
==========================================
- Hits 31987 31984 -3
- Misses 38663 38666 +3
Partials 5238 5238
Continue to review full report at Codecov.
|
please send backport :) |
* Fix scrolling to resolved comment anchors As described on discord, when the window.location.hash refers to a resolved comment then the scroll to functionality does not work. This PR fixes this. Signed-off-by: Andrew Thornton <[email protected]> * Apply suggestions from code review Co-authored-by: silverwind <[email protected]> Co-authored-by: silverwind <[email protected]> Co-authored-by: techknowlogick <[email protected]>
* Fix scrolling to resolved comment anchors As described on discord, when the window.location.hash refers to a resolved comment then the scroll to functionality does not work. This PR fixes this. Signed-off-by: Andrew Thornton <[email protected]> * Apply suggestions from code review Co-authored-by: silverwind <[email protected]> Co-authored-by: techknowlogick <[email protected]>
As described on discord, when the window.location.hash refers to a
resolved comment then the scroll to functionality does not work.
This PR fixes this.
Signed-off-by: Andrew Thornton [email protected]