Auto-center components on canvas #5465
Unanswered
josejbracho
asked this question in
Q&A
Replies: 1 comment
-
One way to do it is by css. Since they are absolute you could use .myComponent {left: 50%, transform: translateX: -50%} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
In dragMode: 'absolute', I was wondering if there is a way to drop a component inside the canvas and have it 'auto-center'.
Is there a way to manipulate the positioning of an element after it's dropped inside the canvas?
Thanks,
Jose
Beta Was this translation helpful? Give feedback.
All reactions