@ucloud-fe/react-components 1.3.2 → 1.3.3

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.
@@ -133,6 +133,8 @@ var Input = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
133
133
  var _inputRef$current;
134
134
 
135
135
  (0, _newArrowCheck2.default)(this, _this2);
136
+ // 避免影响输入框的选中、移动光标等操作
137
+ if (e.target === inputRef.current) return;
136
138
  e.preventDefault();
137
139
  (_inputRef$current = inputRef.current) === null || _inputRef$current === void 0 ? void 0 : _inputRef$current.focus();
138
140
  }.bind(this), []);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ucloud-fe/react-components",
3
- "version": "1.3.2",
3
+ "version": "1.3.3",
4
4
  "title": "UCloud react components",
5
5
  "description": "UCloud react components",
6
6
  "keywords": [