tabulator-tables 5.1.6 → 5.1.7

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.
@@ -1,4 +1,4 @@
1
- /* Tabulator v5.1.6 (c) Oliver Folkerd 2022 */
1
+ /* Tabulator v5.1.7 (c) Oliver Folkerd 2022 */
2
2
  class CoreFeature{
3
3
 
4
4
  constructor(table){
@@ -18886,9 +18886,12 @@ class VirtualDomHorizontal extends Renderer{
18886
18886
  }
18887
18887
 
18888
18888
  vertScrollListen(){
18889
- this.subscribe("scroll-vertical", () => {
18890
- this.visibleRows = null;
18891
- });
18889
+ this.subscribe("scroll-vertical", this.clearVisRowCache.bind(this));
18890
+ this.subscribe("data-refreshed", this.clearVisRowCache.bind(this));
18891
+ }
18892
+
18893
+ clearVisRowCache(){
18894
+ this.visibleRows = null;
18892
18895
  }
18893
18896
 
18894
18897
  //////////////////////////////////////