File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -113,6 +113,8 @@ Reference: [#217](https://github.com/lukasbach/react-complex-tree/issues/217)
113
113
<details><summary>Can I turn off multi-select?</summary>
114
114
<div>
115
115
116
+ There is no direct property that controls this.
117
+
116
118
You should be able to achieve that by implementing a custom interaction mode. You can read about
117
119
those [here](https://rct.lukasbach.com/docs/guides/interaction-modes#custom-interaction-modes), and see
118
120
an example implementation [here](https://github.com/lukasbach/react-complex-tree/blob/main/packages/core/src/interactionMode/ClickItemToExpandInteractionManager.ts).
@@ -133,9 +135,6 @@ Reference: [#151](https://github.com/lukasbach/react-complex-tree/issues/151)
133
135
Whether arrow is shown or not depends only on `isFolder` (previously `hasChildren`) prop of the node. So you have to
134
136
change that property for the node when all children are moved out.
135
137
136
- I agree that this is not very intuitive and probably would be better if it was just checking current state of item and
137
- not `isFolder` property. Maybe this could be done with custom `renderItemArrow` renderer.
138
-
139
138
Reference: [#188](https://github.com/lukasbach/react-complex-tree/issues/188) and [#70](https://github.com/lukasbach/react-complex-tree/pull/70)
140
139
141
140
</div>
You can’t perform that action at this time.
0 commit comments