-
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] App crashes when entering an emoji inside three backticks code block #39259
[Fix] App crashes when entering an emoji inside three backticks code block #39259
Conversation
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeScreen.Recording.2024-03-29.at.11.36.24.PM.moviOS: NativeiOS: mWeb SafariScreen.Recording.2024-03-29.at.11.21.40.PM.movMacOS: Chrome / SafariScreen.Recording.2024-03-29.at.10.56.08.PM.movMacOS: Desktop |
@BartoszGrajdek It is still crashing on iOS Safari |
Did you add emoji through Expensify emojiPicker? |
Because that's another issue cc @shubham1206agra |
If so try adding emoji through native iOS keyboard |
Screen.Recording.2024-03-29.at.11.21.40.PM.movThere's a lot of weird things happening on adding emoji. |
Screen.Recording.2024-03-29.at.11.36.24.PM.movOn adding emoji, the cursor is moving to the end. |
Good catch @shubham1206agra I think these bugs are a separate issue - especially considering what exactly we changed in the |
Thanks, I agree and looks like we having an existing issue to investigate that #39267 |
@thienlnam looks like this was merged without a test passing. Please add a note explaining why this was done and remove the |
🚀 Deployed to staging by https://github.com/thienlnam in version: 1.4.59-0 🚀
|
🚀 Deployed to production by https://github.com/Julesssss in version: 1.4.60-13 🚀
|
Details
This PR upgrades live markdown lib to include fix for a bug where after adding emoji to code block the app crashes
Fixed Issues
$ #39236
Tests
```test😁```
in the input - make sure no warnings in the console appear```
,test😁
&```
Offline tests
```test😁```
in the input - make sure no warnings in the console appear```
,test😁
&```
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 methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.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
android.mov
Android: mWeb Chrome
chrome.mov
iOS: Native
ios.mov
iOS: mWeb Safari
safari.mov
MacOS: Chrome / Safari
web.mov
MacOS: Desktop
desktop.mov