After the most recent FlutterFlow platform update, my ListView tapping logic is broken. I have a Backend Query at the top of the page that populates a page‐level list variable (e.g. itemsList
), and my ListView is bound to that variable to generate its children. Everything worked perfectly before, but now whenever I tap any row in the ListView, the “selected” item is always the same (and always the wrong one), as if the list is stuck on a single index.
For those trying to reproduce this error:
Add a Backend Query at the top of your page, storing results in a page variable (e.g.
itemsList
).Bind a ListView to
itemsList
so it generates one child per element.On each child widget, set up an On Tap action that passes
itemsList[index]
(or uses “Set Variable” to save the tapped item).Run the app and populate the ListView.
Tap any item, particularly one that is not the first in the list.
Observe that the tapped item’s data corresponds to the same incorrect index, not the one you tapped.