We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bcd6cfb + 5beb998 commit 03a7b07Copy full SHA for 03a7b07
src/js/core/RowManager.js
@@ -1063,10 +1063,14 @@ export default class RowManager extends CoreFeature{
1063
//check if the table has changed size when dealing with variable height tables
1064
if(!this.fixedHeight && initialHeight != this.element.clientHeight){
1065
resized = true;
1066
- if(this.subscribed("table-resize")){
1067
- this.dispatch("table-resize");
1068
- }else{
1069
- this.redraw();
+ if(!this.redrawing){ // prevent recursive redraws
+ this.redrawing = true;
+ if(this.subscribed("table-resize")){
+ this.dispatch("table-resize");
1070
+ }else{
1071
+ this.redraw();
1072
+ }
1073
+ this.redrawing = false;
1074
}
1075
1076
0 commit comments