WordPress-iOS
WordPress-iOS copied to clipboard
Media library: 'No media matching your search' message is no visible
Expected behavior
While searching for media in Media Library, No media matching your search message is displayed when no results are found.
Also, if the search is cancelled and the user tries to add a media file again, they will see all available media in the search screen.
Actual behavior
When searching Media Library without results, No media matching your search message is not visible, but underneath the header.
Also, when the search is canceled by tapping the Cancel header button the No media matching your search message will be displayed if the user tries to add Media Library items again for any media block.
Steps to reproduce the behavior
- Create a new blog post
- Add a Image block
- Click
ADD IMAGE - Click
WordPress Media Library - Search for some string that will not return any results
- ❌
No media matching your searchmessage is not visible. Expected: The message IS visible. - Click
Cancelbutton in Navigation bar - Click
ADD IMAGE - Click
WordPress Media Library - ❌
No media matching your searchmessage is visible. Expected: Available images are displayed
https://user-images.githubusercontent.com/42008628/172656786-618ba8ee-b2da-4bd2-bc8c-d6cc3c686f0d.MP4