Skip to content

Listview error when the list has only one element #752

@MyKit

Description

@MyKit

Has your issue been reported?

  • I have searched the existing issues and confirm it has not been reported.
  • 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

Open Link to see the live demo.

When there is a single element in a list, the page breaks.

image

Expected Behavior

The page should render the list view with a single element properly.

Steps to Reproduce

Widget tree below
image

Reproducible from Blank

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

Bug Report Code

ITFXksmAsJRNodhE+aryKscw/WAwGUwCaI0z0tlETRQdfuPtOqQEZ+OlRBJCcuqHSm52EE7+nl0d+OiNvfLlKfE7FE+ZbKJnwagIUxDgTjuWRYS1PM+gX38lL/FUCFyk1KurgBVSHNReV3wW1zqIP+m+b3qCf9qOYwx5e6fDbOY=

Context

Trying to load a list and when there is multiple elements it works however when there is a single element it breaks.

Visual documentation

image

Additional Info

No response

Environment

- FlutterFlow version: Latest
- Platform: Web
- Browser name and version: Microsoft Edge - Version 112.0.1722.34 (Official build) (64-bit)
- Operating system and version affected: MS Windows 11 Version 21H2

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions