diff --git a/paginator.js b/paginator.js index 9c01cb4..d53bc4d 100644 --- a/paginator.js +++ b/paginator.js @@ -520,7 +520,7 @@ export class Paginator extends HTMLElement { doc.addEventListener('touchmove', this.#onTouchMove.bind(this), opts) doc.addEventListener('touchend', this.#onTouchEnd.bind(this)) - doc.addEventListener('focusin', e => + doc.addEventListener('focusin', e => this.scrolled ? null : // NOTE: `requestAnimationFrame` is needed in WebKit requestAnimationFrame(() => this.scrollToAnchor(e.target))) })