Fix v-table shift-dblclick not trigger activateNode (#5711)

This commit is contained in:
windingwind 2026-01-20 22:10:04 +01:00 committed by GitHub
parent d681caba1c
commit da82e8aa28
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -758,6 +758,12 @@ class VirtualizedTable extends React.Component {
this._isMouseDrag = false;
return;
}
// Double-click with shift does not trigger dblclick event, so we handle it here
if (shiftSelect && e.detail === 2) {
this._activateNode(e, [index]);
}
this._onSelection(index, shiftSelect, augment);
this.focus();
}