WordPress-Android
WordPress-Android copied to clipboard
Reader search: Search History overlays Search Results after screen turns off
Expected behavior
The app won't show to fragment on top of each other.
Actual behavior
The app displays two fragments on top of each other.
Steps to reproduce the behavior
User report - steps unknown

Tested on [device], Android [version], WPAndroid [version]
Pixel 4a
The screenshot looks like the search (with recent searches) overlays one of the Reader post lists, such as "Discover" -or- existing search results. After playing around with search for some time, I think it's most likely overlayed over existing search results. However, I couldn't find a way to reproduce this on Samsung Galaxy S21, WP Android 20.3-rc-2.
Here's how I would suggest trying to reproduce:
- Head to Reader and tap the Search icon
- Search for something, and wait for the posts to load
- Tap into the search bar again - note that only your most recent search appears
- Delete all the content in the search bar, and see that all your recent searches now appear
I think the display issue would be most likely to happen between step 3 and 4, though I couldn't get it to happen.
Update, reproduced! The key is to allow the screen to turn off (or turn it off).
Steps to reproduce:
- Head to Reader and tap the Search icon
- Search for something, and wait for the posts to load
- Tap into the search bar again
- Delete all the content in the search bar, and see that all your recent searches now appear
- Turn off the screen
- Turn the screen back on and see that the recent searches are overlayed on top of the search results
