Repository navigation
Description
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:
- By navigating away from the screen and
- By making a swipe down gesture on the text input explicitly (:warning: Someone from expensify had to educate me about this gesture explicitly. I didn't figure this out on my own!)
Now there are three problems with this:
- Its very none standard to not be able to dismiss the keyboard interactively. Thats a lacking hygiene factor imo (whatsapp quality)
- I never discovered option (2) on my own, thinking I simply couldn't dismiss the keyboard in chat (which was bothering me)
- When you have a message in the composer that exceeds the line limit scrolling through the message might dismiss the keyboard as of functionality (2) which is annoying and none standard (see video in thread)
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.
Issue Owner
Current Issue Owner: @chrispaderMetadata
Metadata
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
melvin-bot commentedon Dec 17, 2024
Triggered auto assignment to @CortneyOfstad (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.melvin-bot commentedon Dec 18, 2024
📣 @hannomargelo! 📣
Hey, it seems we don’t have your contributor details yet! You'll only have to do this once, and this is how we'll hire you on Upwork.
Please follow these steps:
Format:
hannojg commentedon Dec 18, 2024
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!)
kirillzyusko commentedon Dec 18, 2024
Hello, I'm Kiryl from Margelo expert agency and I would like to work on this task 😊
mountiny commentedon Dec 18, 2024
Thanks!
Can you please write a plan of how to tackle this first, thanks!
hannojg commentedon Dec 20, 2024
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
react-native-keyboard-controller: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.
CortneyOfstad commentedon Dec 20, 2024
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!
192 remaining items
roryabraham commentedon Apr 4, 2026
@chrispader what's the latest here?
chrispader commentedon Apr 10, 2026
@mountiny and i decided to put this aside for now and i'll continue working on it once i've finished other tasks with higher priority, since this is an UI/UX improvement and not super urgent.
Technically, @kirillzyusko and i have to fix one remaining issue that we have with
react-native-keyboard-controller. I'll check soon whether we can find a quick fix for this and upstream a fix.melvin-bot commentedon Jun 23, 2026
@CortneyOfstad, @chrispader, @parasharrajat, @mountiny, @roryabraham, this Monthly task hasn't been acted upon in 6 weeks; closing.
If you disagree, feel encouraged to reopen it -- but pick your least important issue to close instead.
chrispader commentedon Jul 15, 2026
I've continued working on this! There is a new major
react-native-keyboard-controllerrelease version 1.22.x, which includesKeyboardChatScrollViewcomponent, that might reduce the complexity of the this change and hide lots of the logic needed in the library instead of the App codebase.Keeping you updated on the progress here 🙌🏼
chrispader commentedon Jul 16, 2026
Working on the new
KeyboardChatScrollViewapproach in #96167, and it works pretty well so far and removes most of the complexity from #71440.Giving another update with videos tomorrow!
chrispader commentedon Jul 28, 2026
Still working on integrating
KeyboardChatScrollViewinto the app. There is still one remaining bug in RKNC on iOS, which causes a jump/lag when the user dismisses the keyboard.chrispader commentedon Sep 14, 2026
Since we're migrating all the lists in the app to LegendList, this will make interactive keyboard dismissal way easier and less complex, because LegendList integrates with RNKC out-of-the-box with
KeyboardAwareLegendList. I'm working in person with @kirillzyusko this week on getting this to work! 🙌🏼Then we'll just need to wait for PRs 2-4 in #98994 to be merged.
expensify-chore-bot commentedon Nov 26, 2026
@CortneyOfstad, @chrispader, @parasharrajat, @mountiny, @roryabraham, this Monthly task hasn't been acted upon in 6 weeks; closing.
If you disagree, feel encouraged to reopen it -- but pick your least important issue to close instead.
chrispader commentedon Nov 26, 2026
LegendList migration is still ongoing but we've reached the last parts. @roryabraham please re-open this, as i will address this right after 🙌🏼