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

How to restrict draggable item moving out of parent div? #2578

Open
Edge-Repo opened this issue Apr 24, 2024 · 3 comments
Open

How to restrict draggable item moving out of parent div? #2578

Edge-Repo opened this issue Apr 24, 2024 · 3 comments

Comments

@Edge-Repo
Copy link

We are designing a drag and Sortable list where we need draggable list item should not move out of the list container

@jubrito
Copy link

jubrito commented Jun 18, 2024

I'm facing the same problem

@LizaMaharjan
Copy link

@angular360 @jubrito I recently watched a vid, it didn't mention how to prevent the item from moving out of the list container , but it shows how you can handle it which logically makes the same sense as your issue.
Video reference 🎥

@Deadpool957
Copy link

What needs to be achieved is that the original item will not be destroyed after the dragging is completed

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

4 participants