ActivityPub-federated video streaming platform using P2P directly in your web browser
Faster position scrolling
Chocobozzz24a0d7fd00f4
diff --git a/client/src/app/core/routing/scroll.service.ts b/client/src/app/core/routing/scroll.service.tsindex f0f7a721bd..3f438638c5 100644--- a/client/src/app/core/routing/scroll.service.ts+++ b/client/src/app/core/routing/scroll.service.ts@@ -86,13 +86,12 @@ export class ScrollService {if (e.position) {debugLogger('Scroll to position.', { e, resetScroll: this.resetScroll })- setTimeout(() => {- this.viewportScroller.scrollToPosition(e.position)- if (e.position[1] > document.documentElement.scrollHeight) {- debugLogger('Could not scroll to position, marking scroll event as unhandled')- unhandledScrollEvent = e- }- })+ this.viewportScroller.scrollToPosition(e.position)++ if (e.position[1] > document.documentElement.scrollHeight) {+ debugLogger('Could not scroll to position, marking scroll event as unhandled')+ unhandledScrollEvent = e+ }return}