@factoringplus/pl-components-pack-v3 0.5.2-pre-14 → 0.5.2-pre-15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -50294,14 +50294,18 @@ const _sfc_main$2 = {
50294
50294
  };
50295
50295
  const scrolling = ({ scrollTop }) => {
50296
50296
  const plChatFooter = document.getElementById("pl-chat-footer");
50297
+ console.log("plChatFooter", plChatFooter);
50297
50298
  const footerHeight = plChatFooter ? plChatFooter.offsetHeight : 0;
50298
50299
  if (selectedChannelStore.loadingMessages || channelsStore.isFilesList) {
50300
+ console.log(111);
50299
50301
  return;
50300
50302
  }
50301
50303
  if (scrollTop <= 20 && isEnableLoadBefore.value) {
50304
+ console.log(222);
50302
50305
  loadBefore(chatMain.value.offsetHeight);
50303
50306
  }
50304
50307
  if (scrollTop + footerHeight >= chatMain.value.offsetHeight - 450) {
50308
+ console.log(333);
50305
50309
  loadAfter(chatMain.value.offsetHeight);
50306
50310
  }
50307
50311
  };
@@ -50364,7 +50368,7 @@ const _sfc_main$2 = {
50364
50368
  }), 128))
50365
50369
  ])) : createCommentVNode("", true),
50366
50370
  createVNode(_component_el_scrollbar, {
50367
- height: "522",
50371
+ height: "558",
50368
50372
  ref_key: "scrollbarRef",
50369
50373
  ref: scrollbarRef,
50370
50374
  onScroll: scrolling