alibaba-fusion / next

🦍 A configurable component library for web built on React.
https://fusion.design
MIT License
4.58k stars 584 forks source link

[TreeSelect]TreeSelect组件选中效果异常 #4743

Closed mengyibo closed 5 months ago

mengyibo commented 8 months ago

Component

TreeSelect

Reproduction link

https://riddle.alibaba-inc.com/riddles/14a215ad

Steps to reproduce

searchValue为空时,应该重置选中效果 重现步骤: 1、搜索过滤一下,任何选项都不选,展开到了搜索的数据; 2、删除searchKey,之前展开的还在展开

github-actions[bot] commented 8 months ago

这是您为 Fusion/Next 提的第一个 issue,感谢您对 Fusion 的信任和支持,我们会尽快进行处理。

github-actions[bot] commented 7 months ago

你好,该 issue 已 30 天没有活动,因此被标记为 stale,如果之后的 7 天仍然没有活动,该 issue 将被自动关闭

YSMJ1994 commented 7 months ago

你的需求是否是在 输入 searchValue 时记录当前的展开节点,清空 searchValue 时恢复?

mengyibo commented 6 months ago

是的,数据源是远程搜索取到的,输入 searchValue 展开到叶子节点,清空 searchValue 时恢复到初始化的状态

github-actions[bot] commented 5 months ago

你好,该 issue 已 30 天没有活动,因此被标记为 stale,如果之后的 7 天仍然没有活动,该 issue 将被自动关闭