Skip to content

Fix white screen when trying to navigate empty search results#4351

Merged
MariaHCD merged 1 commit intoExpensify:mainfrom
rdjuric:fixArrowNavigationSearch
Aug 2, 2021
Merged

Fix white screen when trying to navigate empty search results#4351
MariaHCD merged 1 commit intoExpensify:mainfrom
rdjuric:fixArrowNavigationSearch

Conversation

@rdjuric
Copy link
Contributor

@rdjuric rdjuric commented Jul 31, 2021

Details

Check if the search results are empty before trying to navigate/act upon the results array.

Fixed Issues

$ #4056

Tests

  1. Open the search (CMD + K on macOS)
  2. Type a combination of characters such that there're no results
  3. Press Arrow Up or Arrow Down
  4. The app doesn't crash

QA Steps

Tested On

  • Web
  • Mobile Web
  • Desktop
  • iOS
  • Android

Screenshots

Web

web.mov

Mobile Web

Desktop

desktop.mov

iOS

Android

@rdjuric rdjuric requested a review from a team as a code owner July 31, 2021 19:18
@MelvinBot MelvinBot requested review from MariaHCD and removed request for a team July 31, 2021 19:18
@MariaHCD MariaHCD merged commit 1639a73 into Expensify:main Aug 2, 2021
@OSBotify
Copy link
Contributor

OSBotify commented Aug 2, 2021

✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

@OSBotify
Copy link
Contributor

OSBotify commented Aug 6, 2021

🚀 Deployed to staging in version: 1.0.82-8🚀

platform result
🤖 android 🤖 success ✅
🖥 desktop 🖥 success ✅
🍎 iOS 🍎 success ✅
🕸 web 🕸 success ✅

@OSBotify
Copy link
Contributor

🚀 Deployed to production by @francoisl in version: 1.0.83-1 🚀

platform result
🤖 android 🤖 success ✅
🖥 desktop 🖥 failure ❌
🍎 iOS 🍎 success ✅
🕸 web 🕸 success ✅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants