Skip to content

Commit 52378c2

Browse files
author
潕量
committed
fix: autoFocus search while open
1 parent e5b24b9 commit 52378c2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/plugin-components-pane/src/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,7 @@ export default class ComponentPane extends React.Component<ComponentPaneProps, C
294294
placeholder="搜索组件"
295295
shape="simple"
296296
hasClear
297+
autoFocus
297298
onSearch={this.handleSearch}
298299
onChange={this.handleSearch}
299300
/>

0 commit comments

Comments
 (0)