fix: prevent default action of Enter key when selecting an emoji#32324
fix: prevent default action of Enter key when selecting an emoji#32324flodnv merged 7 commits intoExpensify:mainfrom
Conversation
|
Will you take a look at the PR? |
@s-alves10, yeah, will review soon. :) |
Reviewer Checklist
Screenshots/VideosAndroid: Native32324-adnroid-app.mp4Android: mWeb Chrome32324-android-chrome.mp4iOS: Native32324-ios-app.mp4iOS: mWeb Safari32324-ios-safari.mp4MacOS: Chrome / Safari32324-web.mp4MacOS: Desktop32324-desktop.mp4 |
|
The root cause of the issue you mentioned looks like the keyboard event is propagated. So I suggest to add the following code This works fine as well. I updated the PR. Please check again |
ntdiary
left a comment
There was a problem hiding this comment.
Let's add some comments to explain these changes. :)
|
Comments were added. Please take a look. |
flodnv
left a comment
There was a problem hiding this comment.
Not A Blocker - we usually add empty lines before our comments
|
✋ 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/flodnv in version: 1.4.9-0 🚀
|
1 similar comment
|
🚀 Deployed to staging by https://github.com/flodnv in version: 1.4.9-0 🚀
|
|
🚀 Deployed to production by https://github.com/yuwenmemon in version: 1.4.9-5 🚀
|
Details
Prevent default action of Enter key event when selecting an emoji by Enter
Fixed Issues
$ #31210
PROPOSAL: #31210 (comment)
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)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
31210_android_native.mp4
Android: mWeb Chrome
31210_android_chrome.mp4
iOS: Native
31210_ios_native.mp4
iOS: mWeb Safari
31210_ios_safari.mp4
MacOS: Chrome / Safari
31210_mac_chrome.mp4
MacOS: Desktop
31210_mac_desktop.mp4