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

"on-google-signin-aware-" events don't fire when opened in background. #152

Open
danjacques opened this issue Sep 15, 2016 · 0 comments
Open

Comments

@danjacques
Copy link

The code that ultimately results in the events being fired iterates through the signinAwares list, which is the list of <google-auth-signin-aware> elements that have been attached at that point.

I encountered an issue with this element when opening a page in the background (e.g., middle-click on a link). At this point, Polymer sets enough properties to kick off the AuthEngine initialization and login workflow, but Polymer hasn't actually attached all of its elements yet, so elements that are bound via Polymer to that event don't actually receive it.

I was able to fix this by hooking Polymer's ready event instead of its attached event here.

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

No branches or pull requests

1 participant