mirror of
https://git.joinfirefish.org/firefish/firefish.git
synced 2024-05-18 06:11:11 +02:00
Merge branch 'fix/ptr' into 'develop'
fix: MkPullToRefresh not work Co-authored-by: Lhcfl <Lhcfl@outlook.com> Closes #10913 See merge request firefish/firefish!10776
This commit is contained in:
commit
64ca96d759
|
@ -242,6 +242,8 @@ const reload = (): Promise<void> => {
|
|||
appended.value = [];
|
||||
prepended.value = [];
|
||||
idMap.clear();
|
||||
offset.value = 0;
|
||||
nextPagingBy = {};
|
||||
return init();
|
||||
};
|
||||
|
||||
|
|
|
@ -203,7 +203,7 @@ function unregisterEventListenersForReadyToPull() {
|
|||
onMounted(() => {
|
||||
if (rootEl.value == null) return;
|
||||
|
||||
scrollEl = getScrollContainer(rootEl.value);
|
||||
scrollEl = getScrollContainer(rootEl.value) ?? document.querySelector("HTML");
|
||||
if (scrollEl == null) return;
|
||||
|
||||
scrollEl.addEventListener("scroll", onScrollContainerScroll, {
|
||||
|
|
Loading…
Reference in a new issue