-
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
Start chat - App crashes when pressing keyboard up key in Start chat list #40401
Comments
Triggered auto assignment to @danieldoglas ( |
Triggered auto assignment to @anmurali ( |
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
|
@anmurali I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors. |
We think this issue might be related to the #collect project. |
Production bandicam.2024-04-18.10-55-11-411.mp4 |
ProposalPlease re-state the problem that we are trying to solve in this issue.App crashes on cyclic traversal in big lists. What is the root cause of that problem?This happens only for big lists because the whole list is not loaded when the user tries to go to the bottom most item. This started happening since #39201 because the below logic was added. App/src/components/SelectionList/BaseSelectionList.tsx Lines 228 to 237 in 9b839f4
What changes do you think we should make in order to solve the problem?We should use cyclic traversal only when length of list <= 500 (because we show 500 items at the start, along with a "Show more" option at the bottom). We can add
This is in BaseSelectionList. We can check for a similar issue in BaseOptionsList and update there as well. |
@ShridharGoel thanks for pointing out where the issue came from. Your proposal was great, but in cases like this (where the issue was caused by a PR that was recently deployed < 7 days ago), it is expected that the contributor who originally did the changes fixes the regressions as part of the original issue. I suggest you look for issues that have @WojtekBoman this is a regression from your PR that was merged deployed 7h ago. Please look into it as well! cc @roryabraham |
I'll prepare a fix for that |
The PR with the fix for this issue is ready for review |
fix is being CP'd here |
confirmed this is fixed on staging, no payments due, closing this out |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 1.4.63-0
Reproducible in staging?: Y
Reproducible in production?: N
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team
Action Performed:
Expected Result:
App does not crash.
Actual Result:
App crashes.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Bug6453279_1713425262908.keyboard_crash.mp4
Bug6453279_1713425262915!crash.txt
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: