Fix incorrect context menu when renaming collection #5374

This commit is contained in:
Tom Najdek 2025-07-15 17:19:16 +02:00 committed by Dan Stillman
parent 685b762b64
commit 7c662dd59d

View file

@ -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);
}