FlutterFlow / flutterflow-issues

A community issue tracker for FlutterFlow.
130 stars 26 forks source link

Problem loading large amount of arabic text - lagging/freezing #3605

Open LinnMarita opened 3 months ago

LinnMarita commented 3 months ago

Can we access your project?

Current Behavior

In test and run mode the app is freezing/lagging when the page contains a large amount of arabic text. Inspector throws this in Test mode when I start scrolling on the page: "Another exception was thrown: Assertion failed: file:///sdks/flutter/packages/flutter/lib/src/rendering/mouse_tracker" or "Another exception was thrown: Invalid argument: 300.73".

For my app i use an api call, but its the same if I input the same text directly into a text widget.

Expected Behavior

No lagging or freezing.

Steps to Reproduce

  1. Create a new app
  2. Add a text-widget in the column on the frontpage
  3. Insert text from this file: arabic text test.docx
  4. Make column scrollable
  5. Run in Test mode
  6. Scroll on the page and it will start lagging.

Reproducible from Blank

Bug Report Code (Required)

IT4CkcmAsJRgobhc0M71bfpahjgsHGYlRY030MIbZ000N5PQCJkQO8nQP1NCTsyqdGxmeGCmp14E3MLxjc7PG8c4JUycUaZxyc1hEDvNRmquV7mTF7mWP3NSQOdYfVDF5qu3vgpNNupodCwuwV2PevKubHHqK6bRCkQ8Sq/LZO4=

Visual documentation

https://github.com/user-attachments/assets/7431b957-20ad-4b2c-aa05-515789af3949

Constantly scrolling on this recording.

Environment

- FlutterFlow version: v4.1.81+ released August 7, 2024
- Platform: MacOS laptop, web
- Browser name and version: Chrome Versjon 127.0.6533.100
- Operating system and version affected: macOS Sonoma 14.5

Additional Information

No response

msusviela commented 3 months ago

Thanks @LinnMarita. I was able to replicate what you're experiencing. I'll send it to the ENG team so they can check on this.

LinnMarita commented 3 months ago

I went through the prosess of publishing it to TestFlight on apple, and when I run the app on my phone it seems to work fine. Looks like its only in web the problem occurs. Will keep on testing this, and hopefully there will be a solution for it to work on the web so its easier to check how it will look.

msusviela commented 3 months ago

Thanks for the insight!