Skip to content

bug: popup window fails to gain focus after email verification #56

@akhileshthite

Description

@akhileshthite

After a user clicks to log in, a popup window is created for email verification. However, once the email is verified and the user is expected to return to the popup, the window does not come to the forefront as intended, even after invoking popupWindow.focus(). Additionally, popupWindow is logged as null in the useEffect hook, suggesting that the window reference is lost.

Steps to Reproduce

  1. Enter your email and click on the 'Login' button to trigger the popup window.
  2. Navigate away from the popup window to check email for verification.
  3. Verify the email.
  4. Expect the popup window to come into focus automatically.

code:

if (popupWindow) {

setPopupWindow(newWindow);

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions