Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Trigger custom click handler in collapsible nodes
There was a mistake in the `_tick` method which caused the user's `onNodeClick` custom handler to never be triggered when the collapsible feature was enabled. The problem was that it called `setState` without using a callback parameter if the received `cb` was not empty. The contents of that ternary operator should be the opposite for things to work. This fix closes #136.
- Loading branch information