@salesforcedevs/dx-components 1.3.210-lnb10-alpha → 1.3.210-lnb11-alpha

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforcedevs/dx-components",
3
- "version": "1.3.210-lnb10-alpha",
3
+ "version": "1.3.210-lnb11-alpha",
4
4
  "description": "DX Lightning web components",
5
5
  "license": "MIT",
6
6
  "engines": {
@@ -86,7 +86,10 @@
86
86
  size="small"
87
87
  ></dx-empty-state>
88
88
  </div>
89
- <div class="sidebar-content sidebar-content-tree">
89
+ <div
90
+ class="sidebar-content sidebar-content-tree"
91
+ onscroll={handleScroll}
92
+ >
90
93
  <dx-tree
91
94
  for:each={trees}
92
95
  for:item="tree"
@@ -175,7 +175,7 @@ export default class Sidebar extends SidebarBase {
175
175
  this.isSearchLoading = e.detail;
176
176
  }
177
177
 
178
- private onSidebarSearchContentScroll() {
178
+ private onSidebarSearchContentScroll(scrollEvent) {
179
179
  if (this.isSearchLoading) {
180
180
  return;
181
181
  }
@@ -192,6 +192,7 @@ export default class Sidebar extends SidebarBase {
192
192
  this.requestedFetchMoreResults = true;
193
193
  search.fetchMoreResults();
194
194
  }
195
+ this.handleScroll(scrollEvent);
195
196
  }
196
197
 
197
198
  private initializeSearchScrollPosition() {
@@ -50,6 +50,7 @@
50
50
  <div
51
51
  class="sidebar-content sidebar-content-tree"
52
52
  if:true={anyResultMatch}
53
+ onscroll={handleScroll}
53
54
  >
54
55
  <dx-tree
55
56
  for:each={filteredTrees}