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

Allow non-draggable elements on the dropzone #335

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

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