mirror of
https://github.com/hrfee/jfa-go.git
synced 2026-01-18 16:47:42 +01:00
accounts: fix infinite scroll over-loading, use scrollend+polyfill
calculation for number of rows to be drawn was wrong, fixed now. To compensate for overshooting with fast scrolling, speed is calculated using previous scrollY in rows/scroll, and used to render more rows. Also, the "scrollend" event is used to load more at the end of a scroll always. Since this isn't available on safari/webkit(2gtk), a polyfill has been added.
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/hrfee/jfa-go#readme",
|
||||
"dependencies": {
|
||||
"@af-utils/scrollend-polyfill": "^0.0.14",
|
||||
"@ts-stack/markdown": "^1.4.0",
|
||||
"@types/node": "^20.3.0",
|
||||
"a17t": "^0.10.1",
|
||||
|
||||
Reference in New Issue
Block a user