adapt-it / adapt-it-mobile

Translate between related languages on your mobile device.
https://adapt-it.github.io/adapt-it-mobile/
MIT License
27 stars 8 forks source link

Browse/Search page: only first character is being searched #563

Closed eb1 closed 7 months ago

eb1 commented 7 months ago

Describe the bug When searching for a document in the Browse/Search page, only the first character is being searched. Subsequent characters do not modify the search results

To Reproduce Steps to reproduce the behavior:

  1. Launch Adapt It Mobile and import a document.
  2. From the main screen, tap the Browse/Search button
  3. Tap on the Search edit field, and enter the first letter of the document that was just imported. Note that the document shows in the search results.
  4. Enter another letter that is not the next letter of the document that was imported. Note that the document still shows in the search results.

Expected behavior The document should no longer display in the search results -- the search results should be updated every time the user types in a character, not just for the first character.