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

Can't drag widget back to empty column #99

Open
superwpheroes opened this issue Jan 23, 2019 · 2 comments
Open

Can't drag widget back to empty column #99

superwpheroes opened this issue Jan 23, 2019 · 2 comments

Comments

@superwpheroes
Copy link

Hi guys!

Wonderful product, first of all.

We are working on integrating it into a page builder we are creating for wordpress.

I managed to drag widgets across columns, etc, however, I am faced with this very annoying issue, and dropOnEmpty: true doesn't fix it either...
really not sure how to fix it.

The problem is that if you try moving a widget area over to an empty column, the alert-warning yellow div which acts as the placeholder appears but it is added in the html AFTER the bottom settings: https://nimb.ws/pk1b7t

Maybe you have an idea on this? I noticed that on your demos the widgets are locked to the columns, i.e. you can't move them to other columns, so this issue can not be reproduced on your demo page. I would suppose maybe you never intended to move widgets between columns to start with, but that is really needed in a wp page builder.

Thanks a bunch :)

@neokoenig
Copy link
Owner

Sorry - there's just so much in what you're trying to do which could cause a problem it's hard to tell.. i.e whether WP jQuery is causing the issue or something else... The editable regions weren't designed to be moved between columns, only up or down, so you're presumably making changes which I can't see..

@superwpheroes
Copy link
Author

That is precisely right; it does not appear as if it was built to do that; however, it looks like a limitation from jquery sortable + the gridmanager html (mostly the drawers) but if we come to a solution we will post it. Your confirmation is very much appreciated, thank you!

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