2
0
Эх сурвалжийг харах

fix grid loading mask not shown (#418)

Signed-off-by: ryjiang <jiangruiyi@gmail.com>
ryjiang 1 жил өмнө
parent
commit
3de012eea9

+ 3 - 0
client/src/components/grid/Grid.tsx

@@ -190,6 +190,9 @@ const AttuGrid: FC<AttuGridType> = props => {
 
       const rowCount = Math.floor(totleHeight / rowHeight);
 
+      // fix loading mask
+      setLoadingRowCount(rowCount);
+
       if (setRowsPerPage) {
         setRowsPerPage(rowCount);
       }