FlutterFlow / flutterflow-issues

A community issue tracker for FlutterFlow.
124 stars 23 forks source link

Showing null value screen for 1 sec and then loading the page completely #3787

Open principiumOne opened 1 month ago

principiumOne commented 1 month ago

Can we access your project?

Current Behavior

If I click on the chat with a user, I get the null value screen for a short time. Around 1 secon. After this the page is loading successfully. I am not sure on how to fix this. Maybe you have an idea on this.

Expected Behavior

Chat page is loading smoothly without interruption and null value error screen.

Steps to Reproduce

https://www.loom.com/share/62dc6f6a39364c9b8bcee3497d12a70f

Reproducible from Blank

Bug Report Code (Required)

IT4giMjf5Yp1xOFH1aXube9WjigsJjs1bL00r9pEGEshNb7yEZk+deP8VxNLYtenfGw+eEyYiTgF7tr7vvL9Cfo7PSSVRtlN1ZRXQQyVTliiV8XSPKWOOkdQO9pgGB3A1MGVsR1SNbJhW1IR1DumIPCdG3qCf9qOYwx5e6fDbOY=

Visual documentation

https://www.loom.com/share/62dc6f6a39364c9b8bcee3497d12a70f

Environment

- FlutterFlow version: v4.1.86+ released September 7, 2024
- Platform: Debug mode, android, ios
- Browser name and version:
- Operating system and version affected:

Additional Information

No response

Alezanello commented 1 month ago

The issue might be due to the complexity of the inner components and how references are passed between them, which could result in seeing the red error screen. However, this behavior typically occurs only in test/debug mode.

One thing you can try is to start by checking the deepest component, in this case, "chat_message", and ensure it has proper null-checks in place, such as displaying a loading widget or placeholder while the data is being loaded.

image.png
principiumOne commented 1 month ago

Alright. I will check this out.

Do you think the bad loading time is also caused from the parameter? I use a document instead of a document reference.

Does this need longer for loading? What do you recommend for better performance? Document or document reference with a query on the page?

Am Di., 10. Sept. 2024 um 14:50 Uhr schrieb Alezanello < @.***>:

The issue might be due to the complexity of the inner components and how references are passed between them, which could result in seeing the red error screen. However, this behavior typically occurs only in test/debug mode.

One thing you can try is to start by checking the deepest component, in this case, "chat_message", and ensure it has proper null-checks in place, such as displaying a loading widget or placeholder while the data is being loaded.

[image: image.png] https://camo.githubusercontent.com/aa47bb4af7e086e31e6f0b72da4b1449b59bd5b2efe2c70f42fb80b37935be06/68747470733a2f2f75706c6f6164732e6c696e6561722e6170702f33323431303839642d373336612d343432322d393030622d3035316537326163636462652f64626162313564632d306262642d343839362d623830652d3330343636623564343761652f34666264383863362d313934662d343865392d383134322d6232343262396566653230353f7369676e61747572653d65794a68624763694f694a49557a49314e694973496e523563434936496b705856434a392e65794a775958526f496a6f694c7a4d794e4445774f446c6b4c54637a4e6d45744e4451794d6930354d4442694c5441314d5755334d6d466a593252695a53396b596d46694d54566b59793077596d4a6b4c5451344f545974596a67775a53307a4d4451324e6d49315a445133595755764e475a695a446734597a59744d546b305a6930304f4755354c5467784e444974596a49304d6d49355a575a6c4d6a41314969776961574630496a6f784e7a49314f5463794e6a4d334c434a6c654841694f6a4d7a4d6a6b324e544d794e6a4d3366512e5755675074414c77386d787556424d46334447576331675344467150307a312d4b424971327a4256764f6720

— Reply to this email directly, view it on GitHub https://github.com/FlutterFlow/flutterflow-issues/issues/3787#issuecomment-2340654720, or unsubscribe https://github.com/notifications/unsubscribe-auth/BJJNNFA4W6VMB2I4VOTFI5TZV3TLHAVCNFSM6AAAAABN45GAVKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNBQGY2TINZSGA . You are receiving this because you authored the thread.Message ID: @.***>

github-actions[bot] commented 1 month ago

This issue is stale because it has been open for 7 days with no activity. If there are no further updates, a team member will close the issue.

principiumOne commented 1 month ago

The ticket has to be answered from team.

github-actions[bot] @.***> schrieb am Mi., 18. Sept. 2024, 03:57:

This issue is stale because it has been open for 7 days with no activity. If there are no further updates, a team member will close the issue.

— Reply to this email directly, view it on GitHub https://github.com/FlutterFlow/flutterflow-issues/issues/3787#issuecomment-2357334587, or unsubscribe https://github.com/notifications/unsubscribe-auth/BJJNNFHI5V5JZJBEBJSWSHTZXDMZ3AVCNFSM6AAAAABN45GAVKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJXGMZTINJYG4 . You are receiving this because you authored the thread.Message ID: @.***>

github-actions[bot] commented 1 month ago

This issue is stale because it has been open for 7 days with no activity. If there are no further updates, a team member will close the issue.