Skip to content Skip to sidebar Skip to footer

Disable Clicks On Div Overlay, But Allow Children Clicks

I have a div that contains some text inputs. I would like those text inputs to clicked and receive basic mouse events, but I would like to disable the containing div. Is there a wa

Solution 1:

You cannot click elements that are below (depth) another element. Give the actionable input elements higher z-indexes (and abs/rel positioning) than the covering div.


Post a Comment for "Disable Clicks On Div Overlay, But Allow Children Clicks"