FlutterFlow / flutterflow-issues

A community issue tracker for FlutterFlow.
122 stars 18 forks source link

Selectable text changes text alignment #2280

Open marektomczyk opened 8 months ago

marektomczyk commented 8 months ago

Has your issue been reported?

Current Behavior

I have a ListView widget with a Container and Row inside. I have few Text widgets in that Row. When I select Text widget to be selectable, then it's align to center and I can't change alignment to left. Check screenshots below.

Without selectable Text widget:

image

With selectable Text widget (first two columns are selectable):

image

As you can see, $.name and $.base_path are centered.

Expected Behavior

Selectable Text widget shouldn't change it's alignment.

Steps to Reproduce

  1. Create a page with a ListView widget
  2. Add Container with Row as children of ListView
  3. Add expanded Text into Row and set it as selectable
  4. Text is centered inside cell

Reproducible from Blank

Bug Report Code (Required)

IT4Sz8jfz5R2rulA1pDpbfpVniQUJj47bZJElO1qEAg2CJTwP4YTXOnAVE5pQte0YAllPmKjvzgJp//emvLhUO5dJkiqfb46/7hUVDz/eFqiR5uYC7WWY25/DeZMGm673KunhRR7JulhW1Y932WqIdyRdBLDQITROW0kRc+YA5KK2SrDX1iXc2URm05KZDPz

Context

I'm trying to build a lazy loaded table with ListView component and I want to have cell values selectable.

Visual documentation

image

Additional Info

No response

Environment

- FlutterFlow version: FlutterFlow v4.1 released January 25, 2024 (Flutter version is 3.13.7)
- Platform: Web
- Browser name and version: Arc 1.27.3 (45706)
- Operating system and version affected: macOS Sonoma 14.1
hariprasadms commented 8 months ago

Hi @marektomczyk - I can reproduce it.

image
leighajarett commented 4 months ago

I believe this issue has been resolved!