-
Notifications
You must be signed in to change notification settings - Fork 568
z-index #30
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
Comments
What kind of bug are you referring at? The only issue I think of is that zIndex can not be customized for now and jQueryUI draggable's zIndex option would be helpful in this scenario. |
Issue is that z-index is not being restored, despite the line that set z-index back to initial value. This is because mutateDraggable is being called in a timeout delay. The delayed mutateDraggable clears the z-index. See pull request (#36) I just made, 'Do not reset css position when using helper: clone' |
Duplicate of #128 |
- Closes #125, #121, #99 - Fix paradox of choice ($ vs jQuery) - Closes #122 - Update jQueryUI depedency in demos and tests - Closes #130 - Restore display value if set, else use block - Closes #128, #36, #30 - Restore zIndex value always - Closes #117, #110 - Fix destroying widgets prior to initialization - Closes #111 - Allow dropping without ngModel similar to dragging
You shouldn't set z-index in directive.
zIndex = $(this).css('z-index');
$(this).css('z-index', 99999);
and
$(this).css('z-index', zIndex);
It caused a bug, when set drag option {helper:'clone'}.
Use jQueryUIDraggable option zIndex
The text was updated successfully, but these errors were encountered: