Skip to content

Commit a8fbd0c

Browse files
authored
fix: use proper item comparison (#10411)
1 parent 2aa0d88 commit a8fbd0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/grid-pro/src/vaadin-grid-pro-inline-editing-mixin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,7 @@ export const InlineEditingMixin = (superClass) =>
534534
const item = this.__getRowItem(row);
535535
if (this.__edited) {
536536
const { cell, model } = this.__edited;
537-
if (cell.parentNode === row && model.item !== item) {
537+
if (cell.parentNode === row && this.getItemId(model.item) !== this.getItemId(item)) {
538538
this._stopEdit();
539539
}
540540
}

0 commit comments

Comments
 (0)