WebClients
WebClients copied to clipboard
Fix Pass Extension click detection on iframe
Problem
When an HTML element has the CSS property pointer-events: none; and contains an email input field (ex: a form in a modal), the Proton Pass extension correctly detects this field but does not detect clicks on the options (iframe) during automatic email autofill. It seems this is due to the fact that the underlying element does not capture clicks.
Reproduction Example (if necessary): https://github.com/thomaslenaour/proton-pass-extension-pointer-events-bug
Potential Solution
Add a CSS property pointer-events: all !important; when the iframe is visible.