We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c1f492c commit b92a229Copy full SHA for b92a229
packages/core/src/scroll.ts
@@ -29,7 +29,7 @@ export class Scroll {
29
}
30
})
31
32
- this.save(page)
+ Scroll.save(page)
33
34
if (window.location.hash) {
35
// We're using a setTimeout() here as a workaround for a bug in the React adapter where the
@@ -63,7 +63,7 @@ export class Scroll {
63
const target = event.target as Element
64
65
if (typeof target.hasAttribute === 'function' && target.hasAttribute('scroll-region')) {
66
- this.save(currentPage.get())
+ Scroll.save(currentPage.get())
67
68
69
0 commit comments