I've got a gallery of items.
When dragged, the box's z-index appears to be higher than elements created before, but lower than ones created after.
I want the z-index (for the dragged item) to be higher than all other items, not just the ones created before in the DOM.
ie box 1 should move on top of boxes 2 - 5, not under them.
I've tried ZIndexBoost.
Edit: I've also tried applying style.zIndex="" on click, but it's not working.