Skip to content

Reorderable ListView retains "Item Spacing" setting, but hides it and makes it impossible to change #5728

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
2 tasks done
prossm opened this issue Apr 22, 2025 · 2 comments
Labels
Bug ListView status: confirmed Issue has been reproduced and confirmed as a bug.

Comments

@prossm
Copy link

prossm commented Apr 22, 2025

Can we access your project?

  • I give permission for members of the FlutterFlow team to access and test my project for the sole purpose of investigating this issue.

Current Behavior

(See Loom video below)
If a ListView has Item Spacing set and then is switched to "Reorderable", it looks as though there is no item spacing set, and yet the item spacing is retained and there's no way to change it with out switching Reorderable off, deleting the item spacing, then switching Reorderable back on.

Expected Behavior

Item Spacing should be actually deleted when "Reorderable" is toggled on for a ListView. Either that, or it should be editable even after Reorderable is set. But the former will be better at preventing headaches because of a bug preventing you from running the app in Test Mode.

Steps to Reproduce

My actual steps:

  1. Use the AI feature to generate a page with a list of items that are reorderable
  2. Move forward with that UI in your design system
  3. The AI will generate a nice UI, but the list is not actually set to reorderable.
  4. Connect up necessary data to make the ListView work
  5. In the ListView, check the box for "Reorderable."
  6. Try to test the app. The error prevents you (because the AI already set item spacing before you switched it to reorderable, and you didn't notice, so you have to toggle Reorderable off, delete the item spacing, then toggle Reorderable back on)

Steps without AI:

  1. Create a new page
  2. Add a ListView component to the page
  3. Hook up the ListView to some data, displaying items in a column
  4. Set the item spacing for the ListView to 12
  5. Toggle the ListView to be "Reorderable"
  6. Try to test the app. The error prevents you.

Reproducible from Blank

  • The steps to reproduce above start from a blank project.

Bug Report Code (Required)

IT40hfKA34p2pbxK1bXudPlvtDw5JkAjU404muxRaCotCLbkOpgcf/fOYkRvcOG+Y1ZcOUyJv2oW0638ioTiGPAVBweAbqJG1YdQZTuXQkWhaaahFJWvdHRDP+RmGEyC1Imn2xBCWddsWE4ZwzutOOi+aBbUJITxNUQeDa/LZO4=

Visual documentation

https://www.loom.com/share/671249dfc03244f981ab5144433bb0cf

Environment

- FlutterFlow version: FlutterFlow v5.4.0 released April 17, 2025 // Flutter version is 3.27.3
- Platform: Mac (Test Mode is viewing mobile device layout)
- Browser name and version: Google Chrome 135.0.7049.42 (Official Build) (arm64)
- Operating system and version affected: Mac OS Sonoma Version 14.5 (23F79)

Additional Information

No response

@prossm prossm added the status: needs triage A potential issue that has not been confirmed as a bug. label Apr 22, 2025
@Alezanello Alezanello self-assigned this Apr 22, 2025
@Alezanello Alezanello removed the status: needs triage A potential issue that has not been confirmed as a bug. label Apr 22, 2025
@Alezanello Alezanello added status: confirmed Issue has been reproduced and confirmed as a bug. Bug labels Apr 22, 2025 — with Linear
Copy link
Collaborator

Hello!

Thanks for pointing this out—I was able to quickly reproduce the error you mentioned. I'm really sorry this issue caused delays in your development process. I’ll go ahead and escalate this to our engineering team so they can work on a fix.

We appreciate your patience and will keep you updated!

@Alezanello Alezanello removed their assignment Apr 22, 2025
@prossm
Copy link
Author

prossm commented Apr 22, 2025

Thanks so much, @Alezanello !

@nathankrishnan nathankrishnan added the ListView label Apr 23, 2025 — with Linear
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug ListView status: confirmed Issue has been reproduced and confirmed as a bug.
Projects
None yet
Development

No branches or pull requests

3 participants