-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Keep focus on the Composer when send button is clicked #8091
Keep focus on the Composer when send button is clicked #8091
Conversation
@@ -578,6 +581,10 @@ class ReportActionCompose extends React.Component { | |||
]} | |||
onPress={this.submitForm} | |||
underlayColor={themeColors.componentBG} | |||
|
|||
// Keep focus on the composer when Send message is clicked. | |||
// eslint-disable-next-line react/jsx-props-no-multi-spaces |
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.
We should disable this eslint rule
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.
Yeah, I guess so. It is used in many places
✋ 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 @roryabraham in version: 1.1.43-0 🚀
|
🚀 Deployed to production by @roryabraham in version: 1.1.43-2 🚀
|
I was looking at this issue where we have an unexpected behaviour in iOS that makes autocorrect selection persist in the text input after message is sent. I guess a line added in this PR is causing this. I could be wrong and sorry If I am, ha ha. Can anyone please confirm @parasharrajat @roryabraham. |
Yup, I think this PR is behind that. |
Thanks for confirming 🙇🏻 |
No. is the new issue a deploy blocker? IMO the solution in this PR was the best of all known and the new issue is only affecting one platform under an edge case. IMO, The regression period for this issue is over. so it would be best to fix the new issue separately. |
Details
#7798 (comment)
Fixed Issues
$ #7798
Tests
Contributor (PR Author) Checklist
main
### Fixed Issues
section abovesrc/languages/*
files (if applicable)Styling.md
) for all style edits I madeSTYLE.md
)Avatar
, I verified the components usingAvatar
are working as expected)main
branch)PR Reviewer Checklist
main
### Fixed Issues
section abovesrc/languages/*
files (if applicable)STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)main
branch)QA Steps
Screenshots
Web | Desktop
screen-2022-03-11_17.34.11.mp4
Mobile Web
screen-2022-03-11_17.51.55.mp4
screen-2022-03-11_19.37.02.mp4
iOS
screen-2022-03-11_19.23.55.mp4
Android
screen-2022-03-11_17.50.53.mp4