ParticleCore / Iridium

Iridium is an extension built to improve your YouTube experience
Other
1.32k stars 139 forks source link

Prevent scroll to top when clicking video timestamps while in always visible mode #948

Closed ParticleCore closed 7 months ago

ParticleCore commented 7 months ago

This is an issue that existed in the previous implementation and never got around to correct it, but I will fix it this time around.

When the user is reading the comments and the player is in the always visible mini player mode, clicking on any video timestamp to jump to that position causes the page to scroll to the top. Ideally the page should stay where it is when that happens.

ParticleCore commented 7 months ago

Implementation is working and appears to be relatively simple:

https://github.com/ParticleCore/Iridium/assets/9222661/68b53ca8-3844-4b07-a4b5-214046d864fb