Skip to content

Commit d53c170

Browse files
committed
fix(Tree): fix auto focus when key is empty string, close alibaba-fusion#3566
1 parent 003cc0d commit d53c170

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tree/view/tree.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -748,7 +748,7 @@ class Tree extends Component {
748748

749749
handleBlur(e) {
750750
this.setState({
751-
focusedKey: '',
751+
focusedKey: null,
752752
});
753753

754754
this.props.onBlur && this.props.onBlur(e);

0 commit comments

Comments
 (0)