-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Gridstack modal clone issue #2352
Comments
WorkAround , take me sometime to discover that bootstrap modal has a z-index of 1050; even placing a z-index of 999 on gridstack content wont work. |
we have this in CSS, which is not enough
1050 is a really odd number. |
but actually it should be that (less specific to affect drag in area, and higher. will fix.
|
adumesny
added a commit
to adumesny/gridstack.js
that referenced
this issue
May 31, 2023
fix gridstack#2352 * make sure .ui-draggable-dragging is not just item (dragIn region) and high enough z-index to solve bootstrap modals too
fixed in next release. don't forget to donate if you find this lib useful! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello, I am working on a project where I need to drag items from a palette to the grid. This project is inside a Bootstrap modal, and from what I've noticed, when we use the 'clone' helper or even customize it, the cloned item being transferred to the grid does not appear. This is different from what we see when we perform the same process outside of a modal. Unfortunately, I have not been able to find an answer to this problem in the documentation, let alone a workaround for it. Here is a code example on JSFiddle. it seens to be a z-index issue
https://jsfiddle.net/bodinho97/Lakroyus/27/
The text was updated successfully, but these errors were encountered: