Skip to content

Allow non-draggable elements on the dropzone#335

Open
Fedeorlandau wants to merge 8 commits intoisaacHagoel:masterfrom
Fedeorlandau:master
Open

Allow non-draggable elements on the dropzone#335
Fedeorlandau wants to merge 8 commits intoisaacHagoel:masterfrom
Fedeorlandau:master

Conversation

@Fedeorlandau
Copy link

@Fedeorlandau Fedeorlandau commented Dec 8, 2021

If you add any other div that is not present on the items map it will also prevent the dragging, check this example

working

solves #334 and #327

I was wondering if we can include a playground folder with svelte to test the changes live.

@Fedeorlandau
Copy link
Author

@isaacHagoel Ready to review, please update the release notes with the PR number.

@Fedeorlandau Fedeorlandau changed the title Option to disable drag in some items Allow non-draggable elements on the dropzone Dec 8, 2021
@isaacHagoel isaacHagoel linked an issue Dec 9, 2021 that may be closed by this pull request
@DeveloperMarius
Copy link

Hey,
I would love a allow method to check if an element is draggable or not, similar to dragulas moves method.

~ Marius

@isaacHagoel
Copy link
Owner

isaacHagoel commented Apr 21, 2023 via email

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

Successfully merging this pull request may close these issues.

Is there a way to have a non-draggable element in the dndzone?

3 participants