mirror of
https://github.com/john-okeefe/foliate-js.git
synced 2026-10-24 22:59:51 -04:00
Fix history state not updated when swiping
This commit is contained in:
1 parent
772cbe00ca
commit
36a8fb62e7
2 files changed
+3
-1
No files matched your search
+1
-1
@@ -608,7 +608,7 @@ export class Paginator extends HTMLElement {
|
||||
index: this.#adjacentIndex(dir),
|
||||
anchor: dir < 0 ? () => 1 : () => 0,
|
||||
})
|
||||
})
|
||||
}).then(() => this.dispatchEvent(new Event('snapend')))
|
||||
}
|
||||
#onTouchStart(e) {
|
||||
const touch = e.changedTouches[0]
|
||||
|
||||
Reference in new issue
Block a user