ant-design/ant-design

Animate Tree subnodes on select

Open

#48710 opened on Apr 30, 2024

View on GitHub
 (3 comments) (1 reaction) (0 assignees)TypeScript (98,031 stars) (54,612 forks)batch import
Inactivehelp wanted🐛 Bug

Description

What problem does this feature solve?

Currently, when the user selects a Tree Node that has sub-nodes and we want those sub-nodes to expand, they are expanded without animation. While expanding/collapsing a parent Node has animation.

What does the proposed API look like?

Maybe introduce a new bool prop animateOnSelect or something.

Contributor guide