tplus-components-touch 3.56.4 → 3.56.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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
  }