Skip to content

fix(dialog): increase popup size and remove focus-loss auto-close#146

Open
decofe wants to merge 1 commit intomainfrom
georgios/fix-popup-dialog-ux
Open

fix(dialog): increase popup size and remove focus-loss auto-close#146
decofe wants to merge 1 commit intomainfrom
georgios/fix-popup-dialog-ux

Conversation

@decofe
Copy link
Copy Markdown
Member

@decofe decofe commented Apr 8, 2026

Summary

Fix two popup dialog UX issues that break password manager and OTP flows.

Changes

  • Increase default popup size from 360×440 to 480×600 — password manager overlays (1Password, Bitwarden) clip the passkey prompt at the old size
  • Remove focus-loss auto-close on popup — previously, switching to another tab (e.g. to check email for OTP) would reject all pending requests via the window focus listener. The offDetectClosed interval (which detects when the user actually closes the popup) is preserved.

Porto has the same issues tracked in ithacaxyz/porto but hasn't landed fixes yet. This applies the fixes to accounts first.

Prompted by: Georgios

Co-authored-by: Georgios Konstantopoulos <17802178+gakonst@users.noreply.github.com>
Amp-Thread-ID: https://ampcode.com/threads/T-019d6890-0413-7575-b72c-db7e81cb5c8b
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 8, 2026

Worker Preview
Wagmi https://0fe2292b-accounts-wagmi.porto.workers.dev

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 8, 2026

Worker Preview
Playground https://aa299839-accounts-playground.porto.workers.dev

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Apr 8, 2026

Open in StackBlitz

npm i https://pkg.pr.new/tempoxyz/accounts@146

commit: 530a29d

@jxom
Copy link
Copy Markdown
Member

jxom commented Apr 10, 2026

@decofe can you read this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants