Skip to content

Uncaught Error: setState() called after dispose() #1251

@nev-21

Description

@nev-21

Has your issue been reported?

  • I have searched the existing issues and confirm it has not been reported.
  • I give permission for members of the FlutterFlow team to access and test my project for the sole purpose of investigating this issue.

Current Behavior

Seems like it doesnt affect anything in behaviour but the error appears en chrome debug console. The problem seems related

Expected Behavior

No error should appear in debug console

Steps to Reproduce

PROJECT:

  1. make a new project with 2 pages (home, child)
  2. inside home, make a button (go to child)
  3. the child page should have back button in appbar
  4. in child create a form validation with a field (for numbers/digits only) and a button for sumbit
  5. the submit button should validate and after that must navigate back

TEST:

  1. run the test project
  2. click "go to child"
  3. write a number like "10" in the text field
  4. click "submit simulation"
  5. The error appears in console (it is weird, sometimes it doesnt appear)
  6. Sometimes it appears when i click "<- back button"

Reproducible from Blank

  • The steps to reproduce above start from a blank project.

Bug Report Code (Required)

IT4gz/Hqx89godtJ15CBYO9VnicRQkA5aJc0sdlud0wdCoDuBIk+ZPWlVFpBTsSoTVFfMESmmngDpejThd/tJMBcCyucb7Za+JZ2Tg7gbHKWa5OBEriSOnNCEdpbfxWA5MPY3whdCPViZXwe3UyLfeuiQj7vK7H7IndISq/LZO4=

Context

I dont know if this error will affect the production app. So i want to avoid any surprise.

Visual documentation

before click submit (or back)
image

after click
image

Additional Info

No response

Environment

- FlutterFlow version: 3.1
- Platform: web
- Browser name and version: chrome 115.0.5790.171
- Operating system and version affected: windows 11

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions