Share Posted June 1, 2018 How can I clear z-index from a draggable after releasing it, so that new page elements don't appear beneath the draggable item? Link to post Share on other sites
Share Posted June 1, 2018 If you want to turn off that feature altogether, just pass in zIndexBoost:false. If you want it to be boosted while dragging but then you want to alter it to something else afterward, you could do so in an onRelease: Draggable.create("#yourID", { onRelease:function() { TweenLite.set(this.target, {zIndex:0}); } }); Or just use raw JS to remove the inline style altogether. Totally up to you. Enjoy! 4 Link to post Share on other sites