Skip to content
New issue

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

Multiple frames inside of an editor #600

Closed
Chepush opened this issue Jan 14, 2024 · 1 comment
Closed

Multiple frames inside of an editor #600

Chepush opened this issue Jan 14, 2024 · 1 comment

Comments

@Chepush
Copy link

Chepush commented Jan 14, 2024

Is it possible to have multiple <Frame> components inside of the <Editor>?

I've tried to achieve something similar to what Framer has (screenshot attached) with multiple frames with different widths. However, the behavior breaks when I put multiple frames into one editor. Drag & Drop indicators are displayed only on the last frame. Also, the "node" returned from the useNode() hook is always the one from the last frame. Is there a workaround for such case?

image

@prevwong
Copy link
Owner

Currently no, and it will take quite a bit of work to support this unfortunately

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants