Chat - Formatting is incorrect when pasting code into the compose box#63426
Conversation
|
@ZhenjaHorbach Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
|
@ZhenjaHorbach I see this issue is not fixed on iOS native. This issue also happens on Slack iOS native (not other platforms), so I think we can ignore it |
|
@ZhenjaHorbach Can you help review my PR? |
Weird |
Reviewer Checklist
Screenshots/Videos |
Maybe, iOS automatically add the new line when |
|
I think this issue happens on Slack as well so we can ignore it. What about you @ZhenjaHorbach ? |
|
All good? @ZhenjaHorbach |
|
Let's update description in this case |
|
@ZhenjaHorbach I updated the test steps. Thank you |
@MonilBhavsar |
|
@MonilBhavsar This issue is not fixed on native iOS, I checked on Slack iOS and I see the same thing, but on other platforms they are not, so should we ignore it on iOS |
|
@MonilBhavsar What do you think? |
|
@ZhenjaHorbach It looks like we haven't received a response. What should we do next? |
I pinged in slack |
|
Sorry for missing this. |
I tested on other platforms like Messenger, Discord and Whatsapp, this issue happens on all platforms For Slack, it just happens on iOS Native. Not sure what platform we should follow |
|
@MonilBhavsar @ZhenjaHorbach What do you think about my comment here #63426 (comment)? |
I don't think this is a critical issue |
|
@MonilBhavsar Can you please take a look? |
MonilBhavsar
left a comment
There was a problem hiding this comment.
Fine for me 👍
Thanks!
|
✋ 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/MonilBhavsar in version: 9.1.72-0 🚀
|
1 similar comment
|
🚀 Deployed to staging by https://github.com/MonilBhavsar in version: 9.1.72-0 🚀
|
|
🚀 Deployed to production by https://github.com/puneetlath in version: 9.1.72-10 🚀
|






Explanation of Change
This PR fixes the extra space between lines when pasting code.
Fixed Issues
$ #62848
PROPOSAL: #62848 (comment)
Tests
No extra space between lines.
All lines left-aligned as in the source code.
Verify that no errors appear in the JS console
Offline tests
Same as tests
QA Steps
Same as tests
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)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: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop