-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
I would like to ask how to solve the block component is not padding difficult to drag into the screen? #113
Comments
Sorry @jay0319 but I don't get what is your issue. Can you elaborate the question? |
like this, this easy drag to canvas because section have padding. But this not easy drag to canvas, because between section have not padding. Sorry my english not very well, so I use img, hope you can understand my question thanks @artf . |
Thanks @jay0319 now I got what do you mean and this is something I'm still working on. At the moment you can tell a model what elements are acceptable and where they could be dragged, eg. example with a row/cell elements: <div class="row" data-gjs-droppable=".row-cell">
<div class="row-cell" data-gjs-draggable=".row"></div>
<div class="row-cell" data-gjs-draggable=".row"></div>
</div> But this double opt-in process is only executed once the component is dropped, I think moving this process up in dragging event might solve some of the issues. I'll add this to the Roadmap |
Sorry @artf, I try this solution but not work, there are my code.
|
Sorry @artf I want ask this function being built? Thank you. |
@jay0319 can you elaborate better what is doesn't work with the current model properties? What do you do and what do you expect to happen? |
@artf I used you support method to test drag to between two no padding component, I has upgrated new version, thats show a orange outline can limit drag but still can't insert between two component, thank you. |
I think you should wait for the improvement I've explained before because with |
@artf Ok, I know thank you for your reply. |
Thanks @artf I will try the new version, thank you very much. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
I think of a practice is to insert a block after each time will add a plus button to facilitate the addition of a section But this must be reset block manager to solve this problem.
Thank you @artf.
The text was updated successfully, but these errors were encountered: