ailab-dev / app_buy_sell

app_buy_sell repository
MIT License
1 stars 1 forks source link

Fix japanese bug #49

Closed PhongTaKiai closed 5 months ago

PhongTaKiai commented 5 months ago
mafreud commented 5 months ago

@PhongTaKiai, could you let me know the cause of the bug?

PhongTaKiai commented 5 months ago

@mafreud Because auto complete sugget of japanese, text controller value change and watch provider in same time

mafreud commented 5 months ago

@PhongTaKiai Could you upload the video? I want to check the bug.

PhongTaKiai commented 5 months ago

@mafreud before

https://github.com/ailab-dev/app_buy_sell/assets/117698659/b2313cfc-8121-4372-8642-c0c7f06c97d1

fixed:

https://github.com/ailab-dev/app_buy_sell/assets/117698659/6993d5a5-de53-4269-be5f-72ed913da68b

mafreud commented 5 months ago

@PhongTaKiai Why don't you use useEffect to set initial value to textEditingController?

PhongTaKiai commented 5 months ago

@mafreud user profile fetch data from firebase but useEffect run first and did not update after fetching