-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: prevent default action of Enter key when selecting an emoji #32324
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 |
test.mp4Well, the same test steps yield different behavior on Android chrome. Pressing |
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's add some comments to explain these changes. :)
Comments were added. Please take a look. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.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