Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question]: Multiple Pop Up Logins Causes null errors #1562

Closed
lewdi4 opened this issue Oct 21, 2022 · 8 comments
Closed

[Question]: Multiple Pop Up Logins Causes null errors #1562

lewdi4 opened this issue Oct 21, 2022 · 8 comments
Assignees
Labels

Comments

@lewdi4
Copy link

lewdi4 commented Oct 21, 2022

What Version of the library are you using?
14.1.5

Question
When a user clicks a button to launch the popup, sometimes they don't see the popup or pop another popup. when the user submits that popup, I am getting null pointer errors that are crashing chrome. Is there some way to manager the popup so it automatically pops the same window, or so that it will ignores the second popup request?

@FabianGosebrink
Copy link
Collaborator

Hey, what do you mean with "pop another popup"? Do you mean that they click the button multiple times? And then, when they close one of the first popups, they get an error? Thanks

@lewdi4
Copy link
Author

lewdi4 commented Oct 29, 2022 via email

@FabianGosebrink
Copy link
Collaborator

Duplicate of #1333

@FabianGosebrink FabianGosebrink marked this as a duplicate of #1333 Nov 3, 2022
@fritzwf
Copy link

fritzwf commented Nov 4, 2022

Can the pop-up be made so the minimize option can be disabled? Also, if there is already a modal pop-up, don't let it create another one. Also, is there a way to change the CSS for the the pop-up modal?

I also see the issue:

login.component.ts:82 ERROR TypeError: Cannot read properties of null (reading 'closed') at angular-auth-oidc-client.mjs:3966:28 at timer (zone.js:2405:41) at _ZoneDelegate.invokeTask (zone.js:406:31) at Object.onInvokeTask (core.mjs:26194:33) at _ZoneDelegate.invokeTask (zone.js:405:60) at Zone.runTask (zone.js:178:47) at invokeTask (zone.js:487:34) at ZoneTask.invoke (zone.js:476:48) at data.args.<computed> (zone.js:2385:32)

Once this error is thrown, it creates an infinite loop inside of the module somewhere.

Regards

@FabianGosebrink
Copy link
Collaborator

I think we will fix the issue that no other popup can be opened when a popup is already open.

@lewdi4
Copy link
Author

lewdi4 commented Nov 18, 2022

Was this fixed in version 15? I see the issue still occurring.

@FabianGosebrink
Copy link
Collaborator

We are on it with the upcoming PR.

@FabianGosebrink
Copy link
Collaborator

Should be fixed in 15.0.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants