alphabet_list_scroll_view
alphabet_list_scroll_view copied to clipboard
[Bug] failed to scroll to selected alphabet after push navigation and go back
when i push navigation after select any listView and go back to alphabet list scroll view layout,
i cannot select my desire alphabet properly, when i select anything, it forces me to scroll to the most bottom user (with Z name)
I am seeing this too. I noticed when I push navigation the scroll is disposed, usually.
My use case I have
Screen A -> list AZ screen -> screen C
Going A to list AZ push works great.
If I navigate to screen C and then back to AZ list...AZ state is gone. Then anything I try to drag AZ it always push to the bottom of list starting with Z.
@calvinsug I'm having this exact same issue and have tried multiple versions of this library. I don't even have to push navigation, mine scrolls to Z no matter what I do!
Thanks for reporting. I'll check it out. It'll be most useful if you can provide an example app.
I haven't found a fix but have narrowed this down to when this is happening in my app. When I push list AZ screen -> screen C
, screen C
is kicking off a network call using the http
package. As soon as the network call is made the AZ list is disposed. I remove making the network call, the AZ list works as expected going to and from screen C
without losing state.
🤷♂ Very confusing!