fix: Cannot search for emojis in status page.#46700
Conversation
Signed-off-by: krishna2323 <belivethatkg@gmail.com>
| ref={(el) => (emojiSearchInput.current = el)} | ||
| /> | ||
| <FocusTrapForModal active={isEmojiPickerVisible}> | ||
| <View> |
There was a problem hiding this comment.
Any reason for wrapping with View?
There was a problem hiding this comment.
@situchan, tab key navigation will not work if we don't wrap with view.
There was a problem hiding this comment.
@situchan, tab key navigation will not work if we don't wrap with view.
what's the root cause?
There was a problem hiding this comment.
I'm not sure about that, I have checked other components which uses FocusTrapForModal and they all wrap the content with View. Should I look for the RC?
App/src/components/PopoverMenu.tsx
Lines 222 to 223 in e909496
There was a problem hiding this comment.
I have checked other components which uses FocusTrapForModal and they all wrap the content with View.
ok but EmojiPickerMenu's parent container is already View:
App/src/components/EmojiPicker/EmojiPickerMenu/index.tsx
Lines 308 to 315 in e909496
What's wrong with it?
Should I look for the RC?
That would be great!
There was a problem hiding this comment.
I think I found the reason. It's because of forwardRef
If we just return EmojiPickerMenu, it doesn't happen even without wrapping with View.
Reviewer Checklist
Screenshots/VideosAndroid: Nativeandroid.mp4Android: mWeb Chromemchrome.mp4iOS: Nativeios.moviOS: mWeb SafariMacOS: Chrome / Safariweb.movMacOS: Desktop |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/blimpich in version: 9.0.18-0 🚀
|
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.0.18-10 🚀
|
Details
Fixed Issues
$ #45629
PROPOSAL: #45629 (comment)
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
android_native.mp4
Android: mWeb Chrome
android_chrome.mp4
iOS: Native
ios_native.mp4
iOS: mWeb Safari
ios_safari.mp4
MacOS: Chrome / Safari
web_chrome.mp4
MacOS: Desktop
desktop_app.mp4