fkhadra / fkhadra/react-contexify

Dynamic rendering issues

Open
#164 0 comments 0 reactions 0 assignees View on GitHub
candidate next release
Dominant language
TypeScript
Stars
1.2k
Forks
132
PR merge metrics
No merged PRs in 30d

Description

Hello, I recently doing drag and drop components and encounter a problem, when I want to add Menu, to drag and drop components found Menu component, after appearing immediately disappear, this is our demo, please help me to analyze, Box component is dynamically generated in the business, I wonder if the trigger drag, lead to contain the Menu component are updated together, don't know is there any way to solve, my side is to Box the parent component of nested Menu component, although can reach the effect, but is not very ideal.

https://codesandbox.io/s/draggable-forked-0ngzc?file=/src/DraggableBox.tsx:985-992

focus on Example.tsx and DraggableBox.tsx

thanks

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.