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

Prevent draging outside of the parent element #523

Closed
rin4ik opened this issue Dec 23, 2020 · 4 comments · Fixed by #532
Closed

Prevent draging outside of the parent element #523

rin4ik opened this issue Dec 23, 2020 · 4 comments · Fixed by #532

Comments

@rin4ik
Copy link
Contributor

rin4ik commented Dec 23, 2020

Is it somehow possible to
prevent grid items to go outside of container div?

@rin4ik
Copy link
Contributor Author

rin4ik commented Dec 26, 2020

It is possible in react grid layout with isBounded prop

https://strml.github.io/react-grid-layout/examples/16-bounded.html

@gmsa
Copy link
Contributor

gmsa commented Dec 28, 2020

Can you submit a PR with that feature for vue-grid-layout?

@rin4ik
Copy link
Contributor Author

rin4ik commented Jan 1, 2021

@gmsa ready

@jan-br
Copy link

jan-br commented Mar 20, 2021

Some updates on this one?

@gmsa gmsa closed this as completed in #532 Jul 29, 2022
gmsa pushed a commit that referenced this issue Jul 29, 2022
…) (#532)

* add bounded prop

* bounded example page

* fix

* Update config.js
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 a pull request may close this issue.

3 participants