File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
packages/drip-table-generator
src/layouts/table-workstation/editable-table Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " drip-table-generator" ,
3- "version" : " 3.2.2-alpha.7 " ,
3+ "version" : " 3.2.2-alpha.8 " ,
44 "description" : " A visualization tool for generating schema of drip-table." ,
55 "main" : " dist/index.min.js" ,
66 "module" : " lib/index.js" ,
Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ function EditableTable<
104104 }
105105 } else {
106106 const [ lastLeftHeight , lastScrollHeight , lastRightHeight ] = lastRowHeights . current ?? [ ] ;
107- if ( lastLeftHeight !== leftCellHeight || lastScrollHeight !== scrollCellHeight || lastRightHeight !== rightCellHeight ) {
107+ if ( lastLeftHeight !== leftCellHeight || Math . abs ( lastScrollHeight - scrollCellHeight ) > 1 || lastRightHeight !== rightCellHeight ) {
108108 setRowHeight ( Math . max ( leftCellHeight , scrollCellHeight , rightCellHeight ) + 1 ) ;
109109 lastRowHeights . current = [ leftCellHeight , scrollCellHeight , rightCellHeight ] ;
110110 }
You can’t perform that action at this time.
0 commit comments