We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96a7062 commit a31fb6eCopy full SHA for a31fb6e
core/pfe-core/controllers/scroll-spy-controller.ts
@@ -35,7 +35,7 @@ export class ScrollSpyController implements ReactiveController {
35
static #instances = new Set<ScrollSpyController>;
36
37
static {
38
- if (isServer) {
+ if (!isServer) {
39
addEventListener('scroll', () => {
40
if (Math.round(window.innerHeight + window.scrollY) >= document.body.scrollHeight) {
41
this.#instances.forEach(ssc => {
0 commit comments