Speedup or remove the smooth scrolling for javascript documentation?

Maybe its just me, but waiting for the scrolling whenever I click a link in the documentation starts to eat up time. This is especially so if the link needs to scroll to the bottom of the list. I feel like it would be a better UX to not have the smooth scrolling at all, or make it time-based rather than distance-based?

Just thought I'd mention that I'd be open to contributing to this.

1 Like

Can you link to somewhere you are seeing this?

https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/api-reference-5-6.html

If you click any of the links on the side, you'll notice the slow scroll behavior.

I could be wrong, but I've noticed this in other pages also.

It seems snappy to me, but are you expecting/hoping for a clean jump rather than a scroll?

Yah, right now the scroll duration is linear, so the further down the link, the longer it takes to scroll. Frankly, I could care less about the smooth scrolling :stuck_out_tongue:. Even an option to toggle it on/off would be nice.

1 Like

Cool, thanks for the feedback.
I'll raise this with the website team and see what options we have :smiley:

Thanks Mark

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.