tplus-components-touch 3.56.4 → 3.56.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -1703,8 +1703,10 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
1703
1703
  that.setState({ currentIndex: index });
1704
1704
  _this2.currentInput = input;
1705
1705
  setTimeout(function () {
1706
- input.focus();
1707
- input.setSelectionRange(0, input.value.length);
1706
+ if (input) {
1707
+ input.focus();
1708
+ input.setSelectionRange(0, input.value.length);
1709
+ }
1708
1710
  }, 10);
1709
1711
  }, 200);
1710
1712
  }