@rc-component/select 1.6.13 → 1.6.14

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.
@@ -100,7 +100,8 @@ export default /*#__PURE__*/React.forwardRef(function SelectInput(props, ref) {
100
100
  blur: () => {
101
101
  (inputRef.current || rootRef.current).blur?.();
102
102
  },
103
- nativeElement: rootRef.current
103
+ // Use getDOM to handle nested nativeElement structure (e.g., when RootComponent is antd Input)
104
+ nativeElement: getDOM(rootRef.current)
104
105
  };
105
106
  });
106
107
 
@@ -109,7 +109,8 @@ var _default = exports.default = /*#__PURE__*/React.forwardRef(function SelectIn
109
109
  blur: () => {
110
110
  (inputRef.current || rootRef.current).blur?.();
111
111
  },
112
- nativeElement: rootRef.current
112
+ // Use getDOM to handle nested nativeElement structure (e.g., when RootComponent is antd Input)
113
+ nativeElement: (0, _findDOMNode.getDOM)(rootRef.current)
113
114
  };
114
115
  });
115
116
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rc-component/select",
3
- "version": "1.6.13",
3
+ "version": "1.6.14",
4
4
  "description": "React Select",
5
5
  "engines": {
6
6
  "node": ">=8.x"