Uh oh!
There was an error while loading. Please reload this page.
fix jittery scrolling - #40215
Conversation
This pr fixes the jittery scrolling behavior introduced in nodejs#37301 fix:nodejs#40099 refs:https://infrequently.org/2020/12/resize-resilient-deferred-rendering/
aduh95
left a comment
There was a problem hiding this comment.
Thanks for sending this. Can you please revert the unrelated stylistic changes? Also it'd be nice if the JavaScript code was using the same stylistic choices as the rest of the codebase – maybe you can put this to a separate .js file in doc/api_assets so the linter can autofix that for you.
Trott
commented
Sep 27, 2021
@nodejs/website |
saltybuckets
commented
Sep 27, 2021
@aduh95 done! 👍 |
| <link rel="stylesheet" href="assets/style.css"> | ||
| <link rel="stylesheet" href="assets/hljs.css"> | ||
| <link rel="canonical" href="https://nodejs.org/api/__FILENAME__.html"> | ||
| <script src="assets/script.js"></script> |
There was a problem hiding this comment.
Why not add to the existing script?
There was a problem hiding this comment.
@aduh95 asked to move it to a different file
maybe you can put this to a separate .js file in doc/api_assets so the linter can autofix that for you.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
saltybuckets
commented
Oct 4, 2021
@Sanchitverma78 I understand it's frustrating when a PR gets stalled because of a lack of reviews, please also understand that most (all?) Node.js contributors are doing reviews on their spare time, so you have to understand that sometimes things takes time because of a lack of volunteers and different priorities. |
aduh95
commented
Oct 5, 2021
@mscdex Are you able to confirm this is fixing the issue you were experiencing? |
saltybuckets
commented
Nov 13, 2021
he didnt reply |
Trott
commented
Nov 14, 2021
I built with this just now and it doesn't fix the jittery scrolling for me, I'm sorry to say. Is there anything I can do to make this feedback more helpful? Like, would a screen recording help or something like that? |
mscdex
commented
Nov 14, 2021
I haven't tested this myself yet. Assuming this solution should fix this particular problem, I think there are a few things that probably need adjusting compared to the code used at the referenced article:
|
Additionally, it's possible that the current |
marco-ippolito
commented
Nov 2, 2024
Superseded by #53510 |
Subsystem: doc
This pr fixes the jittery scrolling behavior introduced in
#37301
Fixes: #40099
Refs: https://infrequently.org/2020/12/resize-resilient-deferred-rendering/