-
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
Can use keyboard arrow when chat switcher is open to get to the chat composer #1228
Comments
In the current codebase, I can't reproduce this issue. |
Hi @roryabraham, I can reproduce the issue on latest master branch and have a solution ready. Please check my proposal on upwork. Thanks! |
Hi @UpworkBartkoski are you still having issues reproducing? |
I was able to reproducing the issue and fixed it |
I am working on this. |
I saw there was no one hired yet the last time I opened this issue. That's why I checked on it. Sorry @UpworkBartkoski @laurenreidexpensify! Anyway, PR #1268 depends on |
I don't think this is true - check out the react-native-onyx repo. Since |
Hi @roryabraham, you can take a look at this alternative. If you think it's good, feel free to use it. It's not going to be of any use sitting in my local repo here anyway. |
I am a bit confused by the premise of this issue. What are we fixing here exactly? |
I am interpreting this as... we should be able to type the message, but the sidebar is in the way? That might be a more accessible way to handle this situation. |
What happens is:
You're correct that an alternate (maybe better) solution to this would be to hide the sidebar when they hit the arrow down key. I hadn't thought of that. |
Yeah I'd think we'd just cycle back and forth. e.g. if you focus on one or the other input then the sidebar should open/close? |
From user's perspective, I don't think they expect pressing the arrow button will close the sidebar and focus the cursor on the chat input box, especially because the chat input box is not visible when sidebar is open. It's okay for a single page where multiple input elements are visible to the user, but not in this case. Just my 2 cents. |
I can see that argument and wouldn't mind that approach. Perhaps we should not render the text input at all while the sidebar is open? The user only has the option to tab over because it's rendered behind the sidebar after all. |
We can use the tabIndex prop to manage the focus while the sidebar is open thus browser will not tab away. |
It doesn't look like any technical proposal was made here, but it sounds like the latest agreement is that the up/down arrows shown in the description of the issue should not be tappable when the side menu is open. In the future, please be sure to submit a technical proposal before opening a PR to fix an issue. For the PRs currently open, please ensure they are updated to account for this. |
@UpworkBartkoski I've commented on the PR |
Posted to Upwork: https://www.upwork.com/jobs/~017933fc9690ffbd93
Title:
mWEB- Chat.Exp- 1.0.1-333 - Chat - Able to type messages in the list of contacts after hit on arrow
Action Performed
Expected Result:
Unable to type messages in the list of contacts
Actual Result:
Able to type messages in the list of contacts
Tester login credentials - Password : Feya86Katya
Tester login credentials - Email/Phone : [email protected]
OS and browser used: Safari
Build: 1.0.1-333
Attachment
![](https://camo.githubusercontent.com/64acd7027ac28de1a38450cd9cf0234da9914a8e28161e6029cc872a129f876e/68747470733a2f2f75746573742d646c2e73332e616d617a6f6e6177732e636f6d2f31323130322f32363436392f3239383837322f6e756c6c2f6275674174746163686d656e742f427567343835303731345f42304638323238312d354330382d343333382d424435352d4530353537394339303643372e6a7065673f4157534163636573734b657949643d414b49414a325549574d4a324f4d43335543515126457870697265733d31363431393437323537265369676e61747572653d3553763174534838486a6c747867694a3352316c3054797267306f253344)
![](https://camo.githubusercontent.com/0e294728283c8b7d57fe45536a43aa03445449c4a335d328b9b435b7b014ca32/68747470733a2f2f75746573742d646c2e73332e616d617a6f6e6177732e636f6d2f31323130322f32363436392f3239383837322f6e756c6c2f6275674174746163686d656e742f427567343835303731345f42454634344536352d313037332d343743302d413044412d3738423234303030433243322e6a7065673f4157534163636573734b657949643d414b49414a325549574d4a324f4d43335543515126457870697265733d31363431393437323537265369676e61747572653d33766f69546f674a3125324673534a355a4a6d584a6a5965677a6c7238253344)
Video
The text was updated successfully, but these errors were encountered: