mirror of
https://github.com/logseq/logseq.git
synced 2026-05-25 05:04:24 +00:00
fix: trigger on-load when bottom is reached when scroll up
This commit is contained in:
@@ -443,7 +443,7 @@
|
||||
(bottom-reached? node threshold))
|
||||
top-reached? (= scroll-top 0)
|
||||
down? (scroll-down?)]
|
||||
(when (and down? bottom-reached? on-load)
|
||||
(when (and bottom-reached? on-load)
|
||||
(on-load))
|
||||
(when (and (not down?) top-reached? on-top-reached)
|
||||
(on-top-reached))))
|
||||
|
||||
Reference in New Issue
Block a user