Respnsive frame / container #704
Replies: 2 comments 1 reply
-
|
Beta Was this translation helpful? Give feedback.
-
The way I did it is I made a react global context that calculates width of the ROOT frame (which is the main "page") , then inside elements I made props that resize depending on the width of the root frame. |
Beta Was this translation helpful? Give feedback.
-
Hi there, I have been searching for a solution to my challenge of responsive features to the nodes when the canvas root node size changes, just like any other dnd editor, there are sizes for mobile, tablet, and web.
I have tried to add a global state for frame size as a temporary solution, I have searched and found this demo destak editor, but I think it's been built with Grapesjs. I searched more and found the same project but it was updated. The bad thing is it doesn't have a responsive button like the old version.
I'm stuck with this for weeks, and I hope you can help me.
Thanks a lot
@prevwong
Beta Was this translation helpful? Give feedback.
All reactions