mirror of
https://github.com/flarum/framework.git
synced 2025-01-22 12:33:17 +08:00
49009d268f
Followup to https://github.com/flarum/core/pull/2524. In that PR, we fixed infinite scroll for the panel, but accidentially used document.body. Since scrollTop on body is (almost always) 0, this means that new pages of notifications were loaded on every scroll, which quickly becomes overwhelming. Instead, we can use `document.documentElement` for getting scrollTop, which results in the expected behavior. |
||
---|---|---|
.. | ||
dist | ||
src | ||
.prettierrc.json | ||
admin.js | ||
forum.js | ||
package-lock.json | ||
package.json | ||
shims.d.ts | ||
tsconfig.json | ||
webpack.config.js |