You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
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).
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
The text was updated successfully, but these errors were encountered: