When running Tree.Style, TreeChange events are returned with incorrectly calculated indexes. The calculation should be based on nodes rather than the range provided by the user.
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
The issue arises from the discrepancy between the range provided by the user and the node-based calculation used during Tree.Style execution.
What happened:
When running
Tree.Style
,TreeChange
events are returned with incorrectly calculated indexes. The calculation should be based on nodes rather than the range provided by the user.What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
The issue arises from the discrepancy between the range provided by the user and the node-based calculation used during
Tree.Style
execution.Environment:
yorkie version
):