ant-design-vue
ant-design-vue copied to clipboard
Strange behavior when setting TreeNode title
- [x] I have searched the issues of this repository and believe that this is not a duplicate.
Version
4.1.0
Environment
Windows 11, Edge 122.0.2365.80
Reproduction link
https://stackblitz.com/edit/vitejs-vite-nqyajv?file=src%2Fcomponents%2FHelloWorld.vue
Steps to reproduce
Case 1: Click the "Set title" button
Case 2:
- Collapse "parent 1-1" node
- Click the "Set title" button
What is expected?
The tree node title should be updated, the tree should not collapse
What is actually happening?
The tree collapse or the title is not updated (until the user click the node)