-
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
[$2000] The scrollbar does not scroll properly when long pressing up or down arrow key in RHN #26403
Comments
Triggered auto assignment to @slafortune ( |
Bug0 Triage Checklist (Main S/O)
|
ProposalPlease re-state the problem that we are trying to solve in this issue.The scrollbar does not scroll properly when long pressing up or down arrow key in RHN What is the root cause of that problem?Please take a look at this code. App/src/components/OptionsSelector/BaseOptionsSelector.js Lines 259 to 261 in ec95ab0
App/src/components/OptionsSelector/BaseOptionsSelector.js Lines 386 to 392 in ec95ab0
The updateFocusedIndex method is called when the user clicks the up or down arrow buttons. What changes do you think we should make in order to solve the problem?Therefore, we need to avoid too many key events being called at once while the list is scrolling by one item. What alternative solutions did you explore? (Optional)import lodash from 'lodash';
constructor(props) {
//...other code...
// Debounce updateFocusedIndex function
this.updateFocusedIndex = lodash.debounce(this.updateFocusedIndex, 10);
} Result: 20230901_034505.mov |
@slafortune Whoops! This issue is 2 days overdue. Let's get this updated quick! |
report looks good, applying the external label |
Job added to Upwork: https://www.upwork.com/jobs/~01701d970faa399749 |
Current assignee @slafortune is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @Ollyws ( |
@Ollyws what do you think of the proposal presented by @kanno927 ? Adding a new BZ member, I am out on sabbatical. |
Triggered auto assignment to @kevinksullivan ( |
Bug0 Triage Checklist (Main S/O)
|
Thanks for the proposal @kanno927 but the use of |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
Will review asap. |
@kevinksullivan Can you put this issue on hold for #31606? |
@Ollyws, @kevinksullivan Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@Ollyws, @kevinksullivan Eep! 4 days overdue now. Issues have feelings too... |
@Ollyws, @kevinksullivan 8 days overdue is a lot. Should this be a Weekly issue? If so, feel free to change it! |
1 similar comment
@Ollyws, @kevinksullivan 8 days overdue is a lot. Should this be a Weekly issue? If so, feel free to change it! |
@Ollyws, @kevinksullivan 10 days overdue. I'm getting more depressed than Marvin. |
@Ollyws, @kevinksullivan 12 days overdue. Walking. Toward. The. Light... |
This issue has not been updated in over 14 days. @Ollyws, @kevinksullivan eroding to Weekly issue. |
We should hold this for #31606 given the component is being re-factored. |
sounds good, included that PR in the title. |
On hold. |
This issue has not been updated in over 15 days. @Ollyws, @kevinksullivan eroding to Monthly issue. P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do! |
still held |
@kevinksullivan pls check #16184 (comment) and https://expensify.slack.com/archives/C01GTK53T8Q/p1709232289899589?thread_ts=1709156803.359359&cid=C01GTK53T8Q The component we are holding for will not be used. Also the main issue here (search) already use SectionList and not OptionSelector. Note: even after migrating to SectionList, we still see the issue. The scrollbar does not scroll properly. |
Wasn't able to reproduce and also wasn't able to find scrolling in RHN. Going to close this. Reopen/comment if you disagree. |
Meant to drop in a vid too 2024-04-04_14-19-57.mp4 |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Action Performed:
Expected Result:
The scrollbar should be scroll properly.
Actual Result:
The scrollbar does not scroll properly.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: v1.3.60-1
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
2023-08-22_20-27-20.mp4
Recording.1408.mp4
Expensify/Expensify Issue URL:
Issue reported by: @@oleksandr-pantsyr
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1692725411476829
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: