Skip to main content
Question

How to disable pointer events on hidden objects

  • February 5, 2025
  • 0 replies
  • 13 views

Mark Kanning

How do you disable the pointer events for elements (buttons, links, inputs, etc.) that are being obscured by modals, dropdowns, or anything else? The giant gray block shown below is the overlay container for a future megamenu, but the underlying, clickable elements are obviously still available to the mouse. That’s not ideal.

A dropdown exposed by clicking on a hidden button...which isn’t good.

0 replies

Be the first to reply!

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings