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

[Firestore Mixin] Collection (using live:true) not updating variable in realtime when new document added #343

Open
8 tasks
derhuebiii opened this issue May 5, 2018 · 2 comments

Comments

@derhuebiii
Copy link

Description

Using the Firestore Mixin I do not get collection realtime updates (using live:true) when a new document is added to a collection. If I change data within an existing document this is reflected, so realtime updates work there.
I also checked with an observer, same behaviour.

Expected outcome

Update of data variable if document is added/deleted.

Actual outcome

Data is not reflected as realtime update.

Live Demo

Steps to reproduce

Browsers Affected

  • Chrome
  • Firefox
  • Safari 9
  • Safari 8
  • Safari 7
  • Edge
  • IE 11
  • IE 10
@derhuebiii derhuebiii changed the title [Firestore Mixin] Collection realtime update (using live:true) not updating data when new document added [Firestore Mixin] Collection (using live:true) not updating variable in realtime when new document added May 5, 2018
@derhuebiii
Copy link
Author

@mbleigh @merlinnot any ideas/comments? Thanks!

@merlinnot
Copy link
Contributor

It might be a problem with notifying Polymer of changes in an array. Can you verify that the changes are actually there after adding a document by looking at the value in a debugger or even logging it in a console (manually, from developer tools).

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

2 participants