-
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
[HOLD] [$500] Web - Pressing the up arrow, the scroll bar is going down. #8612
Comments
Triggered auto assignment to @Julesssss ( |
I can confirm this is occurring, but believe the real solution is to resolve this issue as this is a side effect of our current solution. It also seems to occur regardless of using tabs. I can see the same issue just by clicking into the chat window, is that not the same for you @kbecciv? |
@Julesssss There is another issue, we logged recently #8608. Is this the same issue? |
@Julesssss Eep! 4 days overdue now. Issues have feelings too... |
@kbecciv that seems slightly different to me, lets keep both open. |
Triggered auto assignment to @trjExpensify ( |
So @Julesssss, is this not a side effect of bidirectional scrolling as you mentioned here, or does it need to go on |
So I think this is a side effect yes, we can either put it on hold or just keep it open in the off chance that someone finds a fix outside of bi-directional scrolling. I'd lean towards the second option. Also, the other mentioned issue is totally different IMO. |
Got it. Would that fix on the off chance effectively be a workaround though, whereas our preference is to solve this properly with bidirectional scrolling which we're now making progress on? Going to CC: @roryabraham as well |
I don't think we can answer that without seeing a proposal. I don't know enough to say whether it's fixable outside of the bidirectional fix personally -- but maybe Rory does. Either way, I'm happy to keep this open or just put it on hold. |
Cool. @roryabraham, can you give us an opinion on this before moving it to Upwork please? |
I don't think this is related to bidirectional scrolling / React Native's FlatList, but instead it's related to this code, which IIRC has been around since before E/App (previously, E/Expensify.cash, previously Expensify/ReactNativeChat) was open-source :D |
Looks like this HACK ALERT originates here |
But also looks like it was fixed in react-native-web in Sounds like we should file a bug report in react-native-web and let them know that their unreleased inverted scroll fix doesn't work if you focus the scrollbar and use the ArrowUp and ArrowDown keys. |
Also, do we really care to fix this? Seems like a pretty extreme edge case to handle, with consequences that aren't that bad. Maybe we can just live with it? 🤷 |
Nice spot! I don't see why we wouldn't let a contributor do the work, but as this requires one of us to chase another team perhaps that doesn't really work in this case... |
Unclear what the status is here – the solution we were working on is definitely a "hack", but it a similar "hack" (for the wheel event) was merged in the upstream. That said, it sounded like it was unlikely that this particular hack would ever be merged in the upstream. So I guess my take is that we have three choices:
Thoughts on which path we want to take? |
PR was last updated on Oct 2021. I guess it was created for one of our issues and never completed. I doubt that it would be completed in near future. I will go with option 2 as we are already controlling the scroll via code so adding these listeners should be fine too. |
Yeah, I'm going to disagree with this kind of thinking and say that it is especially dangerous when it comes to lower priority issues. We should practice zero tolerance unless the feature is something highly valuable. It doesn't matter what exists in the code now or if this is "similar" to some bad practice we left in the code while we were putting the MVP together. What we have might be already bad, but we are actively choosing to make the code worse than it is. Granted there might be times when we have no other option and we can't live without a feature. But is this one of those times? Just my opinion here and I would encourage others to chime in - but it really feels like no. |
Thanks for the explanation. I agree with your point of view now. This is not a kind of urgent issues. We should not put more hacks over hacks. |
Sure, I'm fine with saying we aren't going to move forward with the "hack". I gave the 🟢 for it, so I think we should pay @b1tjoy for their time. As for the way forward, there seems to be consensus that this isn't very important. While we could create a bounty and try to get a better fix merged upstream, maybe we should just pick our battles and close this? |
I'm curious to hear more opinions on why we should or should not fix this in the long term. There is a trail of evidence that show there is an issue with |
What, if any, action should I be taking here? |
|
Sorry for the delay here @arielgreen. I'm going to suggest that we pay @b1tjoy for their time, then put this issue on HOLD. I think the best thing for us to do might be to try to create a tracking issue for all the problems we have with the |
Done. |
No update here, not a pressing priority |
Still not a priority, going to drop this in case anyone else wants to work on it |
Actually, I'm just going to close this, because I don't think it's worth fixing. If anyone feels strongly otherwise, feel free to reopen |
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:
When pressing the down arrow, the scrollbar should follow the down arrow command. When pressing the up arrow, the scrollbar should go up.
Actual Result:
When pressing the down arrow, the scroll bar is going up. When pressing the up arrow, the scroll bar is going down
Workaround:
Unknown
Platform:
Where is this issue occurring?
Version Number: 1.1.54.1
Reproducible in staging?: Yes
Reproducible in production?: Yes
Email or phone of affected tester (no customers): n/a
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Bug5523437_2022-04-07_10-42-59.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause
Slack conversation:
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: