android - Reset List Scroll Position When Entering Search Text -


How can I reset the list scroll position at the top when providing a new set of suggestions?

When providing custom search suggestions in the search dialog, scroll state is not reset when you type more characters after scrolling the suggestion list.

It is easy to reproduce in Quick Search when the box is configured to view contacts:

  • Open QSb
  • Corpus options Select Contact
  • Type something
  • Swipe upwards to reveal suggestions from the bottom of the list

    The keyboard will hide soft-input keyboard, show a full-height list view of suggestions.

    Cursor re-queries and new suggestions are presented, the list does not scroll back to the top

    My use of search dialogue is the same behavior, and the user experience is bad. I am providing custom suggestions from an HTTP API which

    I have noticed that in other corpus options only one of the suggestions Is limited to the screen-height, completely avoiding this problem.

    When the user types in more characters, the first entry into the "Smooth Scotiutosh (0)" list entered Try scrolling back to the entry What do you mean by resetting the list?

Comments