@acorex/components 20.6.8 → 20.6.9

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.
@@ -127,17 +127,6 @@ class AXSelectBoxComponent extends classes(MXDropdownBoxBaseComponent, MXSelecti
127
127
  });
128
128
  // After setting data source, try to fetch item data if needed
129
129
  setTimeout(() => this.fetchItemDataIfNeeded(), 0);
130
- // If the dropdown is currently open (or the list has already been
131
- // rendered), the new data source will not be loaded automatically by the
132
- // virtual scroll viewport when the host is hidden. Trigger a refresh so
133
- // `onChanged` fires for the new source and the dropdown height is
134
- // recalculated. Otherwise, the list height collapses to `auto` because
135
- // `totalCount` stays 0 for the new (un-loaded) source.
136
- if (this.renderList()) {
137
- setTimeout(() => {
138
- this.list?.refresh(false);
139
- });
140
- }
141
130
  }
142
131
  /** @ignore */
143
132
  ngOnInit() {