WebClients icon indicating copy to clipboard operation
WebClients copied to clipboard

Fix Pass Extension click detection on iframe

Open thomaslenaour opened this issue 2 years ago • 0 comments

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.

thomaslenaour avatar Feb 05 '24 17:02 thomaslenaour