ant-design-vue icon indicating copy to clipboard operation
ant-design-vue copied to clipboard

Strange behavior when setting TreeNode title

Open YipingRuan opened this issue 1 year ago • 2 comments
trafficstars

  • [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:

  1. Collapse "parent 1-1" node
  2. 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)

YipingRuan avatar Mar 15 '24 08:03 YipingRuan

image

YipingRuan avatar Mar 15 '24 08:03 YipingRuan

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

github-actions[bot] avatar May 15 '24 02:05 github-actions[bot]