-
Notifications
You must be signed in to change notification settings - Fork 26
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: jumping keyboard behavior (WPB-9357) #3024
fix: jumping keyboard behavior (WPB-9357) #3024
Conversation
@@ -301,11 +301,11 @@ fun EnabledMessageComposer( | |||
if (additionalOptionStateHolder.selectedOption == AdditionalOptionSelectItem.DrawingMode) { | |||
DrawingCanvasBottomSheet( | |||
onDismissSketch = { | |||
inputStateHolder.collapseComposer(additionalOptionStateHolder.additionalOptionsSubMenuState) | |||
showAdditionalOptionsMenu() |
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.
Just delegate all the orchestration to the function, instead of manually collapsing just the keyboard
Test Results927 tests 927 ✅ 12m 8s ⏱️ Results for commit cd9416a. |
APKs built during tests are available here. Scroll down to Artifacts! |
Build 4874 succeeded. The build produced the following APK's: |
Quality Gate passedIssues Measures |
APKs built during tests are available here. Scroll down to Artifacts! |
Build 4896 succeeded. The build produced the following APK's: |
PR Submission Checklist for internal contributors
The PR Title
SQPIT-764
The PR Description
What's new in this PR?
Issues
When opening the sketch and discarding the drawing, sometimes, the keyboard behavior while closing had an anomaly.
Causes (Optional)
Jumping keyboard effect.
Solutions
Instead of collapsing manually the keyboard, jump back to the attachment options, this handles and orchestrate other actions needed, to display correctly the attachments.
Testing
Test Coverage (Optional)
How to Test
Manually you can have many messages, open the drawing, draw, discard.
Then the keyboard should close correctly
PR Post Submission Checklist for internal contributors (Optional)
PR Post Merge Checklist for internal contributors
References
feat(conversation-list): Sort conversations by most emojis in the title #SQPIT-764
.