Remove InputNumber shift check (#807)

This commit is contained in:
Jaco Greeff 2019-03-12 13:03:06 +01:00 committed by GitHub
parent e6bced1d9a
commit e3b2b8d2f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -154,11 +154,6 @@ class InputNumber extends React.PureComponent<Props, State> {
return false;
}
// prevent use of shift key
if (event.shiftKey) {
return false;
}
// allow cut/copy/paste combinations but not non-numeric letters (i.e. a, c, x, v) individually
if (
(isSelectAll(event.key, isPreKeyDown)) ||