Use a more universal method of checking the element name
This commit is contained in:
parent
78c1039a9f
commit
47f2821a3d
1 changed files with 1 additions and 1 deletions
|
@ -727,7 +727,7 @@ class VirtualizedTable extends React.Component {
|
|||
}
|
||||
|
||||
_handleContextMenu = async (e, index) => {
|
||||
if (e.target.nodeName.toLowerCase() === 'input') {
|
||||
if (e.target.localName === 'input') {
|
||||
// Do not hijack context menu on inputs, fixes #5374
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue