mirror of
https://github.com/zotero/zotero.git
synced 2026-09-09 22:31:05 +00:00
Fix v-table shift-dblclick not trigger activateNode (#5711)
This commit is contained in:
parent
d681caba1c
commit
da82e8aa28
1 changed files with 6 additions and 0 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue