TextField onFocusChange not working when other Textfield selected

Hello ! I'm pretty sure that the error is from Flutterflow, but I'm posting it here since I was told to, does anyone knows whats wrong with what I'm doing, or can someone confirm that the problem is not from me ?

Current Behavior

I have a page with multiples TextFields, they are supposed to update some data in my Firebase DB when the onFocusChange trigger is triggered, It works well whenever you change the focus unless the "focus change" action is to select another TextField, either by clicking another TextField or by pressing "Tab".
So to summarize this action only works when you click on a random pixel to unselect the TextField but not when you select another TextField.

Expected Behavior

The expected behavior is for the action event to be triggered when I change my focus from a TextField to another TextField.

Steps to Reproduce

  • Create a page

  • Add 2 or more TextFields

  • Add action on their "onFocusChange" trigger to change some data in a Firebase DB

  • Enter some data in the first TextField and then select another TextField without unselecting the first one

  • Your data will not be saved to your Firebase DB

Enregistrement de l’écran 2023-12-05 à 16.46.53 (1) (1).mov
7.31MB

Version

- FlutterFlow version: FlutterFlow v4.0 released December 1, 2023, Flutter version 3.13.7
- Platform: Web
- Browser name and version: Chrome 119.0.6045.199 (Build officiel) (arm64)
- Operating system and version affected: MacOS 14.1.1(23B81) and Windows10
1
13 replies