Skip to content

Page is not refreshing after updating a Firebase document #327

@mravani2

Description

@mravani2

Issue tracker is ONLY used for reporting bugs. New feature suggestions and questions should be discussed on Community or submitted through our user feedback form.

Your issue may already be reported! Please search in the issue tracker before creating one.

Please thumbs up this issue if you have also experienced it. You may also add more information if there is something relevant that was not mentioned. However, please refrain from comments that are not constructive, like "I have this problem too", etc.

Expected behavior (required)

The page should refresh after a Firebase document is updated.

Current behavior (required)

The page only refreshes if you update a Local State

To Reproduce (required)

Steps to reproduce the behavior:

  1. You create a container with a backend query (not single-query) -> Firebase Collection -> itemsToCollect (subcollection of Orders)
  2. You use a Column to create dynamic children of itemsToCollect based on the previous query
  3. You set an action to update the parent Order document from a clicked itemToCollect
  4. When you test and click to activate the action, the backend will update, but the page won't (just like what used to happen with the old version of Local States).
  5. If you add a random Local State to update after that action, the page will refresh.

Bug Report Code (required, generate from Widget Tree)

IT4kzOfluYtPj7xY17X5bcFKjjo4KWYiTL03pu0bFEggGLbrBIYMaeDRdlpWUse9d1ZtKEWJ/WQz0trwiYbhKPQ5IS6sf7Z8yc8JWgyUTj7kEuzyT+3IHDUHZbsSXTTm

Context (required)

I want to refresh the visuals of the cards when they are clicked

Screenshots / recordings

image
image
image
image
screencast-docs.google.com-2023.01.06-15_20_25.webm

If I add a Local State update:
image
The page will refresh

Your environment

  • Version of FlutterFlow used:
    image

  • Platform (e.g. Web, MacOS Desktop):
    Web

  • Browser name and version:
    image

  • Operating system and version (desktop or mobile):
    Desktop Windows 11

Metadata

Metadata

Labels

status: needs informationMore information/context is needed for assessment.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions