Fix: Unable to add a new line while editing a comment#10298
Conversation
|
This seems good to me, @mananjadhav what is your opinion |
|
@sketchydroide change looks good, I'll be testing it on all the platforms today and update here. |
|
🎀 👀 🎀
|
Yeh not sure what to make of this, not a regression, as this is what it's like at the moment, just checkd on the latest version maybe we can ask in slack what people opinion is of this. Regardless, that does not affect this PR or GH, and I think it's out of this scope. |
There was a problem hiding this comment.
Approved. Yes @sketchydroide, we can treat this outside of PR.
|
@sketchydroide Quick bump ^ |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |

Details
Users can't add a new line while editing a comment, on pressing enter the comment is getting saved this PR fixes that.
Fixed Issues
$ #9421
Tests
PR Review Checklist
Contributor (PR Author) Checklist
### Fixed Issuessection aboveTestssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*filesSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)/** comment above it */displayNamepropertythisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)Avataris modified, I verified thatAvataris working as expected in all cases)PR Reviewer Checklist
The Contributor+ will copy/paste it into a new comment and complete it after the author checklist is completed
### Fixed Issuessection aboveTestssectionQA stepssectiontoggleReportand notonIconClick).src/languages/*filesSTYLE.md) were followedAvatar, I verified the components usingAvatarhave been tested & I retested again)/** comment above it */displayNamepropertythisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)Avataris modified, I verified thatAvataris working as expected in all cases)QA Steps
Screenshots
Web
Screen.Recording.2022-08-08.at.9.00.52.PM.mov
Mobile Web
Screen.Recording.2022-08-08.at.9.00.21.PM.mov
Screen.Recording.2022-08-08.at.9.16.28.PM.mov
Desktop
Screen.Recording.2022-08-08.at.9.18.32.PM.mov
iOS
Screen.Recording.2022-08-08.at.9.19.57.PM.mov
Android
Screen.Recording.2022-08-08.at.9.12.08.PM.mov