Open enumag opened 8 years ago
@enumag We could add an option for z-index value. That's pretty simple. Would that work?
@LPology Yeah. It's odd to use the constants anyway.
@enumag Was just thinking, would it make more sense to toggle visibility
of the parent div
of the file input? That's how we hide it when the mouse isn't over the upload button. Or maybe both?
@LPology That would certainly make more sense. I'm just not sure if the situation is possible to detect.
I use this script one one page along with colorbox. When I click on a colorbox link it creates an overlay to show the large image. However the upload inputs from this plugin while not visible are still clickable because they are above the overlay (because of their high z-index).
Maybe we should add an option to set the z-index for the upload inputs? Or is there a different solution?