Reputation: 1183
I am using bootstrap 3 to show a modal on top of a map with spots. I'd like users to be able to click on the spots on the map without the modal exiting.
I already have set the modal background to static so it doesn't quit when you click outside the modal but reducing it's z-index still doesn't allow the spots to be clicked on.
Anyone know how to do it, tried googling but seems like i'm the only one with this weird need
Upvotes: 0
Views: 141
Reputation: 1183
Quick and dirty solution is to reduce the length of backdrop element which works for me because modal is not the left and map is on the right with both sharing equal status in terms of interest
Upvotes: 0
Reputation: 763
I am not sure if I understood correctly, but do you just want to keep the modal open, even if a user clicks outside of the actual dialogue? If yes, this answer might help you. It says to change data-backdrop to static :
<a data-controls-modal="your_div_id" data-backdrop="static" href="#">
Upvotes: 1