-
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
Improve the composer swipe down closing logic #54270
Comments
Triggered auto assignment to @CortneyOfstad ( |
📣 @hannomargelo! 📣
|
cc @kirillzyusko can you please comment here, as you will be the one working on this most of the times I think (feel free to assign us both Vit!) |
Hello, I'm Kiryl from Margelo expert agency and I would like to work on this task 😊 |
Thanks! Can you please write a plan of how to tackle this first, thanks! |
The idea is to first get this PR merged (we can put this issue on hold for it), as it restructures the report screen to use I think the next step once this is merged would be to build a PoC PR where we implement the interactive keyboard dismissal using RNKC on the report screen. From this PoC we can decide if it's good to get merged already or should be split up in smaller tasks (thats a bit hard to foresee right now. My gut says/hopes that one PR is enough and the changes won't be too many). Once we got those landed we could check if there are other product areas that could benefit from improved keyboard handling. |
Hey team! Just a heads up that I will be OOO starting this afternoon (December 20th) and will be returning January 6th. A handful of folks on the BZ team will be online for a few days in between the 25th and the 1st, but we'll be operating with a skeleton crew. If any action is needed from a BZ perspective, please post this issue in #expensify-open-source and someone on the team will jump in. Otherwise I will review when I'm back in office. Thank you and Happy Holidays! |
@CortneyOfstad, @kirillzyusko, @mountiny Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@CortneyOfstad, @kirillzyusko, @mountiny Huh... This is 4 days overdue. Who can take care of this? |
I think we should put this issue on hold until #42143 gets merged 👀 That PR has a fundamental work and it'll be easier to adopt a new logic over a solid fundament rather than begin everything from the scratch 🙂 |
Coming from this thread in quality room.
Problem
I, as a user, are used to the fact that in every chat app I use I can interactively dismiss a keyboard. That means, when the keyboard in a chat is open to close it I can simply move my finger down the screen and as soon as my finger touches the keyboard, the keyboard is simultaneously swipes down with the movement of my finger (examples of that can be seen in "Messages App (iOS)", "WhatsApp", "Telegram", "Instagram DMs" etc - see the video attached).
In NewDot it seems like I can't dismiss the keyboard in a chat. Once i opened the keyboard there seem to be only two ways to dismiss the keyboard:
Now there are three problems with this:
Solution
Lets add interactive keyboard dismiss support. Actually, we are already partially doing that over at this PR which we are working on.
In this PR we are basically migrating the chat to react-native-keyboard-controller which will allow us to implement the dismiss gesture very simply and consistently across platforms.
However, its not the goal of that PR to add it, it only adds the "infrastructure". I would like to open a follow up issue to add support for interactive keyboard dismissal once the mentioned PR is merged.
The text was updated successfully, but these errors were encountered: