Skip to content

Commit 9705713

Browse files
committed
fixed wrapTop for data rows when edit clone row
1 parent 9b3be18 commit 9705713

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dashboard/Data/Browser/BrowserTable.react.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ export default class BrowserTable extends React.Component {
314314
}
315315
if (this.props.current.row >= -1 && this.props.editCloneRows) {
316316
//for data rows & new row when there are edit clone rows
317-
wrapTop += (ROW_HEIGHT) * (this.props.editCloneRows.length + 1 + 1);
317+
wrapTop += (2 * ROW_HEIGHT) * (this.props.editCloneRows.length);
318318
}
319319
let wrapLeft = 30;
320320
for (let i = 0; i < this.props.current.col; i++) {

0 commit comments

Comments
 (0)