Skip to content

Commit 9fae8fe

Browse files
committed
fix(Search): pass visible into Autocomplete
1 parent 3903b5e commit 9fae8fe

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/search/Search.jsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ class Search extends React.Component {
178178
placeholder, type, className,
179179
style, size, prefix, searchText,
180180
dataSource, filterProps, buttonProps,
181-
popupContent, hasClear, ...others } = this.props;
181+
popupContent, hasClear, visible, ...others } = this.props;
182182

183183
const cls = classNames({
184184
[`${prefix}search`]: true,
@@ -237,6 +237,7 @@ class Search extends React.Component {
237237
value={this.state.value}
238238
onChange={this.onChange}
239239
popupContent={popupContent}
240+
visible={visible}
240241
/>
241242
</Group>);
242243

0 commit comments

Comments
 (0)