Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.
Add reliable click handler for all autofill popup elements (#797)
Leendert de Borst18d92eccede9
diff --git a/browser-extension/src/entrypoints/contentScript/Popup.ts b/browser-extension/src/entrypoints/contentScript/Popup.tsindex 95fabf276..4051e45ce 100644--- a/browser-extension/src/entrypoints/contentScript/Popup.ts+++ b/browser-extension/src/entrypoints/contentScript/Popup.ts@@ -590,7 +590,7 @@ function createCredentialList(credentials: Credential[], input: HTMLInputElement`;// Handle popout click- popoutIcon.addEventListener('click', (e) => {+ addReliableClickHandler(popoutIcon, (e) => {e.stopPropagation(); // Prevent credential fillsendMessage('OPEN_POPUP_WITH_CREDENTIAL', { credentialId: cred.Id }, 'background');removeExistingPopup(rootContainer);@@ -600,7 +600,7 @@ function createCredentialList(credentials: Credential[], input: HTMLInputElementitem.appendChild(popoutIcon);// Update click handler to only trigger on credentialInfo- credentialInfo.addEventListener('click', () => {+ addReliableClickHandler(credentialInfo, () => {fillCredential(cred, input);removeExistingPopup(rootContainer);});