We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
dblclick
1 parent 209f32b commit e00779aCopy full SHA for e00779a
src/Tree/index.tsx
@@ -167,7 +167,7 @@ class Tree extends React.Component<TreeProps, TreeState> {
167
.on('zoom', (event: any) => {
168
if (
169
!this.props.draggable &&
170
- (event.sourceEvent.type === 'mousemove' || event.sourceEvent.type === 'touchmove')
+ ['mousemove', 'touchmove', 'dblclick'].includes(event.sourceEvent.type)
171
) {
172
return;
173
}
0 commit comments