gh4a icon indicating copy to clipboard operation
gh4a copied to clipboard

Error message can't be dismissed by starting a new search

Open Fs00 opened this issue 4 years ago • 0 comments

I've found a smallish bug in all screens that have search functionality (Search, Issues, Pull requests screens). When the search request fails due to an error (which could be missing Internet connection, but also an error response from GH), the only way to dismiss the error message is to tap "Try again". However, starting a new search should also dismiss the message. You can easily see why in the video below. I start by performing a search while offline, and I get an error. Then I turn on Internet connection and submit new search queries (by switching the search type/tapping the search button), but the outdated error continues to be shown.

https://user-images.githubusercontent.com/30041551/147744627-9f4f1298-3d10-4849-9667-b6aba29335f7.mp4

Fs00 avatar Dec 30 '21 10:12 Fs00