letsar / flutter_staggered_grid_view

A Flutter staggered grid view
MIT License
3.12k stars 508 forks source link

Grid items repositioning #319

Open uberchilly opened 1 year ago

uberchilly commented 1 year ago

I have a situation where my items are cards that can be expanded to show more info and this behavior can cause the masonry grid to recalculate the positions of the items, and the item that the user is currently interacting with can jump to a totally different place in the grid causing weird user experience. Is there anything that can be done to prevent this behavior? Can items stay in the same place after their initial position has been calculated?

khaven commented 11 months ago

I have same issue. Is there any fix for this?

khaven commented 11 months ago

when i call setState, some items in MasonryGridView.count swap positions.

koperdasV commented 9 months ago

I have same issue. Is there any fix for this?

MoritzVetter commented 6 months ago

@uberchilly @khaven @koperdasV any of you ever solved this?

qiaodongliang commented 5 months ago

did you solve that problem? It happened to me

MoritzVetter commented 5 months ago

@qiaodongliang we eventually abandoned the grid and just used some Rows and Columns