-
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
Automatically open the keyboard when editing a message in mobile #4345
Comments
Triggered auto assignment to @tgolen ( |
Proposal This is because generally, the
|
Hm, I don't think this is a browser compatibility issue necessarily. It's possible this was purposefully turned off in the past looking at issues like https://github.com/Expensify/Expensify/issues/159543. Perhaps @marcaaron has a more clear picture about where we currently stand with this than I do. From what I gather, any proposal here should only be affecting the specific flow in question, and the proposal above looks like it would apply to EVERY flow where we use |
Right, the linked issue deals with auto-focus when navigating to a chat. I believe we'd want to preserve that behavior.
Not too sure what is meant by this, but unsure why this has to do with browsers or polyfills. When we say "mobile" we mean mobile web and native mobile for the purposes of this issue. I'd guess it's possible this is not a bug, but a feature request. |
@tgolen Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
I've put a decent amount of effort to figure out the issue. But it seems to be the default behavior of the input field in mobile browsers. https://jsbin.com/gilikehivo/edit?html,output This behavior exists in the Login and Signup flow too. Also, I couldn't find any way to programmatically open a keyboard. I've also checked few websites like slack (updating account settings username), and Amazon (updating the login & security), the behavior is the same. |
@mananjadhav Keyboard is purposely disabled here and I am pretty sure we would want to keep that behavior. |
I agree. I was highlighting the default behavior and the point being that this isn't a bug. |
@tgolen 6 days overdue. This is scarier than being forced to listen to Vogon poetry! |
@tgolen 8 days overdue is a lot. Should this be a Weekly issue? If so, feel free to change it! |
Yes, I was also under the impression that mobile giants (Apple and Google) greatly discouraged giving things auto-focus because it creates a worse UX in most cases. I am fine with closing this unless @AndrewGable and @Jag96 have any reason to reopen it with new information. |
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:
Keyboard should automatically open.
Actual Result:
Keyboard doesn't open and user has to tap on the edit field to open the keyboard.
Workaround:
User can tap on the edit box to open the keyboard.
Platform:
Where is this issue occurring?
Version Number: 1.0.81-3
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:
editcomment.mp4
Expensify/Expensify Issue URL:
View all open jobs on Upwork
From @quinthar https://expensify.slack.com/archives/C01GTK53T8Q/p1627665091022800
The text was updated successfully, but these errors were encountered: