refactor(node): dont select when button inside node is clicked

This commit is contained in:
moklick
2019-10-23 20:52:41 +02:00
parent aa1ef79835
commit 70ab31b993
3 changed files with 4 additions and 8 deletions
+1 -1
View File
@@ -8151,7 +8151,7 @@ Grid.displayName = 'Grid';
var isInputDOMNode = function (e) {
var target = e.target;
return (e && target && ['INPUT', 'SELECT', 'TEXTAREA'].includes(target.nodeName));
return e && target && ['INPUT', 'SELECT', 'TEXTAREA', 'BUTTON'].includes(target.nodeName);
};
var getDimensions = function (node) { return ({
width: node.offsetWidth,