We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
我想在两颗树上互相拖拽子节点,但目前看回调是不完整的,请问目前能实现两棵树的节点之间互相拖拽吗
<Tree className={styles.tree} onSelect={this.onNodeSelected} expandedKeys={newArr} onExpand={this.onExpand} autoExpandParent={true} draggable blockNode onDrop={this.onDrop} > {modifiedData && this.mapTrees(modifiedData, selectedNode)} </Tree> <Tree className={styles.tree} onSelect={this.onNodeSelected} expandedKeys={newArr} onExpand={this.onExpand} autoExpandParent={true} draggable blockNode onDrop={this.onDrop} > {modifiedData && this.mapTrees(modifiedData, selectedNode)} </Tree>
回调的info是这样的
{ dragNode: undefined dragNodesKeys: [] dropPosition: NaN dropToGap: true event: Class {dispatchConfig: {…}, _targetInst: FiberNode, _dispatchListeners: ƒ, _dispatchInstances: FiberNode, nativeEvent: DragEvent, …} node: TreeNode {props: {…}, context: {…}, refs: {…}, updater: {…}, onSelectorClick: ƒ, …} }
The text was updated successfully, but these errors were encountered:
Sorry, this feature is not supported.
Sorry, something went wrong.
afc163
No branches or pull requests
What problem does this feature solve?
我想在两颗树上互相拖拽子节点,但目前看回调是不完整的,请问目前能实现两棵树的节点之间互相拖拽吗
What does the proposed API look like?
The text was updated successfully, but these errors were encountered: