-
Notifications
You must be signed in to change notification settings - Fork 128
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
setting a connectedClass breaks dropping #161
Comments
@maz4focus - are you still having this issue? can you put together a jsfiddle or describe your code a bit more? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We have 2 arrays. You can drag items from one to the other if a condition is satisfied. The condition is checked in beforeMove; it it is not satisfied, cancelDrop will be set. Works fine.
If I set the connectedClass option on the first array, and specify this class in my css file,
the background of the table column that holds the array list, is now reformatted according
to the css. However, it's not possible to drop elements onto the 2nd array anymore.
The css class is simply:
.connectedSortable {
background:brown;
}
In my opinion, setting a css class should not change the behaviour of the page. Only javascript should change the behaviour.
what are we missing?
The text was updated successfully, but these errors were encountered: