-
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
[$250] Chat scrolls back to the last message on opening the keyboard reported by @Puneet-here #12237
Comments
Triggered auto assignment to @miljakljajic ( |
Assigning an engineer to triage - can this be worked on by an external contributor? |
Triggered auto assignment to @jasperhuangg ( |
Looks like a good candidate for the |
Current assignee @miljakljajic is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @rushatgabhane ( |
Current assignee @jasperhuangg is eligible for the External assigner, not assigning anyone new. |
ProposalWe only have to remove the App/src/pages/home/report/ReportActionsView.js Lines 104 to 114 in 25c3060
Simulator.Screen.Recording.-.iPhone.13.-.2022-11-03.at.16.25.25.mp4 |
Heya @miljakljajic just dropping a note as a reminder to keep the pressure on to find a contributor and get this one closed out :) Can we export this one to Upwork since it's external? That'll help increase public visibility on the job. Also @rushatgabhane are you able to review the proposal today or tomorrow? |
@TwizzyIndy Thanks for your proposal, I'm curious to know if issue #3545 reappears because we're effectively reverting the PR for it. |
Thanks for reviewing bro @rushatgabhane. I want to update my proposal. ProposalWe don't really have to remove the this.keyboardEvent = Keyboard.addListener('keyboardDidShow', () => {
+ if (!ReportActionComposeFocusManager.isFocused() || this.currentScrollOffset !== 0) {
return;
}
ReportScrollManager.scrollToBottom();
}); Simulator.Screen.Recording.-.iPhone.13.-.2022-11-04.at.14.42.28.mp4Simulator.Screen.Recording.-.iPhone.13.-.2022-11-04_480.mov |
@TwizzyIndy I like your proposal and am inclined to accept it, but can you modify it a bit to include an explanation of how the logic in this condition would fix the problem? Ping me when you do. Thanks!
|
Thank you. @jasperhuangg. I would like to add some explanation like this below. this.keyboardEvent = Keyboard.addListener('keyboardDidShow', () => {
// When the keyboard shows up and then
// if not focused on the report action composer or the current scroll position is not at the bottom
// we won't scroll to the bottom here.
if (!ReportActionComposeFocusManager.isFocused() || this.currentScrollOffset !== 0) {
return;
}
ReportScrollManager.scrollToBottom();
}); |
what do you think @rushatgabhane @jasperhuangg - are you happy with the suggestion @TwizzyIndy has provided above? |
@miljakljajic, @rushatgabhane, @jasperhuangg Eep! 4 days overdue now. Issues have feelings too... |
Seems like the PR has merged, shall I close? |
@miljakljajic, the reporting bonus is pending. |
Ah my apologies, Puneet! I forgot that you reported it. I've hired you in Upwork for the job. |
Thanks! I have accepted the offer. |
@jasperhuangg, I'm not sure if I agree with the outcome here. Messages on iOS always scrolls you to the bottom when you pop open the input. I prefer that behavior because if you are composing a message you'll want to see the latest message for context. |
I'm with @marcaaron. I'm not sure if I agree with this bug report. Like clearly there isn't a right way here, it's just a preference. Some apps do it one way and other apps do it another way. As a result, this issue is wading into product design rather than bug fixing. I personally think we should close it until we have a larger conversation about which design is right. |
agree @JmillsExpensify thanks for the clarify here, definitely felt out of my depth with product design stuff. I also talked to a few different people about this issue and it seems like everyone has a different preference. @marcaaron Did not realize that that was the behavior for Messages on iOS, thanks for pointing that out.
At least when I'm scrolled up in a chat, I'm most likely replying to the message I'm scrolled up to, not the latest one that I can't see on my screen. If you want another mechanism to scroll down to the bottom, perhaps we could add a button with an arrow on it that scrolls us down? Regardless, I'll apply the |
Aren't you always kind of replying to the entire chat / last message and not some historical message that you are scrolled up to? Once we add threads then you can reply to a specific message. |
@marcaaron Fair point, I think threads would make this behavior make a lot more sense. I guess most chat apps that include scrolling to the bottom behavior also include some sort of "reply to message" functionality, thanks for that. I dropped a message in #expensify-open-source here, let's continue discussion there? |
Closing as per conclusion from discussion here |
@jasperhuangg, this still needs to be settled up. Can we keep this open? |
@jasperhuangg bump |
@Puneet-here Invited you via Upwork for reporting. Job is also here: https://www.upwork.com/jobs/~01aa7c375e34f4cbd5. Can you apply and we'll get this handled ponto? |
apologies @Puneet-here totally didn't realize! Yes, please apply on Upwork as Jason mentioned, thanks again for the bump |
@Puneet-here Still waiting for you to accept in Upwork. |
Applied, thanks! |
Not overdue, just waiting for @Puneet-here to get paid out and we can close this out cc @JmillsExpensify looks like he's all set up to get paid! |
Offer sent to @Puneet-here Waiting for him to accept and then someone can pay him out. @miljakljajic or @jasperhuangg do either of you mind doing that today/tomorrow? I'm OOO this week. |
Accepted |
Paying it! |
All paid. Closing! |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
Expected Result:
The chat shouldn't scroll back to the last message
Actual Result:
The chat scroll back to the last message
Workaround:
unknown
Platform:
Where is this issue occurring?
Version Number: 1.2.21-4
Reproducible in staging?: y
Reproducible in production?: y
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:
Expensify/Expensify Issue URL:
Issue reported by: @Puneet-here
Slack conversation: https://expensify.slack.com/archives/C01GTK53T8Q/p1666912513143069
Screen.Recording.2022-10-28.at.4.31.07.AM.mov
az_recorder_20221028_104040.mp4
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: