react-component/tree

Incorrect rendering of tree structure

vctmohan opened this issue · 2 comments

I just tried rc-tree using the basic example provided. The rendered tree structure that I am getting is different from the expected.

Expected:

image

Actual:

image

Here is the code sandbox link.
CodeSandbox Link

Any help on how to resolve this issue will be greatly appreciated.

Versions of the pacages used:

  • react: 18.1.0
  • rc-tree: 5.6.3

Including the "basic.less" and "assets/index.less" has not made any impact.

Looks like App.css is messing up with the rendering. I removed it and it is working fine.