A silly hack I did was to set the height of the element to zero but overflow:visible; combining this with pointer-events:none; seems to cover all the bases.
.overlay {
height:0px;
overflow:visible;
pointer-events:none;
background:none !important;
}
More Related Contents:
- How to stop event propagation with inline onclick attribute?
- Getting value of HTML Checkbox from onclick/onchange events
- Pass mouse events through absolutely-positioned element
- Javascript Detect click event outside of div [duplicate]
- Detect if user clicks inside a circle
- Detect if user clicks inside a circle
- Replacement for deprecated `keypress` DOM event
- Why are inline event handler attributes a bad idea in modern semantic HTML?
- jQuery .live() vs .on() method for adding a click event after loading dynamic html
- How can I select an element by name with jQuery?
- Firing event on DOM attribute change
- Launch Bootstrap Modal on Page Load
- How to resolve the C:\fakepath?
- How can I simulate a click to an anchor tag?
- Finding line-wraps
- How to get the element clicked (for the whole document)?
- How can I get the DOM element which contains the current selection?
- Can I load an entire HTML document into a document fragment in Internet Explorer?
- What’s standard behavior when element is clicked? Will it submit the form?
- prevent Scroll bubbling from element to window
- Get the DOM path of the clicked
- contentDocument for an iframe
- Remove specific HTML tag with its content from javascript string
- Is it possible to programmatically catch all events on the page in the browser?
- Get elements from page.evaluate in Puppeteer? [duplicate]
- Getting HTML elements by their attribute names
- Is there a way to know if a link/script is still pending or has it failed
- Is there an equivalent to e.PageX position for ‘touchstart’ event as there is for click event?
- Fire oninput event with jQuery
- Why is iframe.contentWindow == null?