bdlukaa / fluent_ui

Implements Microsoft's WinUI3 in Flutter.
https://bdlukaa.github.io/fluent_ui/
BSD 3-Clause "New" or "Revised" License
2.79k stars 435 forks source link

AutoSuggestBox seem not rebuild item correctly!🐛 #1029

Closed namkazt closed 4 months ago

namkazt commented 4 months ago

Describe the bug AutoSuggestionBox not working correctly

To Reproduce I got AutoSuggestionBox with items stored in _lastOptions like following: image

Everytime text changed i called API to search data: image

The suggestion list working at first input, but the second is not updated at all. debug log showing itemBuilder not being called. and it only called again if i clicked to AutoSuggestionBox.

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Additional context Add any other context about the problem here.

namkazt commented 4 months ago

i came up with final solution is build my own auto suggestion box.