Fix incorrect context menu when renaming collection #5374
This commit is contained in:
parent
685b762b64
commit
7c662dd59d
1 changed files with 4 additions and 0 deletions
|
@ -727,6 +727,10 @@ class VirtualizedTable extends React.Component {
|
|||
}
|
||||
|
||||
_handleContextMenu = async (e, index) => {
|
||||
if (e.target.nodeName.toLocaleLowerCase() === 'input') {
|
||||
// Do not hijack context menu on inputs, fixes #5374
|
||||
return;
|
||||
}
|
||||
if (!this.selection.isSelected(index)) {
|
||||
this._onSelection(index, false, false);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue