apps-android-commons: [Bug]: Email verification input text field should not be multiline on login screen

Summary

At the login screen, sometimes we need to enter a verification code received by email, likely when we sign up on a new device. This email verification input field appears after providing the correct username and password.

Steps to reproduce

  1. Freshly install the Commons App
  2. Open the app and try to log in with your username and password
  3. An email verification input field should appear
  4. Make sure email verification input field is focused
  5. Tap on the Enter button in the software keyboard of Android

Expected behaviour

The IME Action for the email verification input field should be either Done or Go. Also, the input field’s height shouldn’t increase when pressing the Enter button.

Actual behaviour

The Enter IME Action is displayed in the Android’s soft keyboard, and tapping that increases the input field’s height.

Device name

Pixel 6

Android version

Android 14

Commons app version

Main Branch

Device logs

No response

Screen-shots

https://github.com/user-attachments/assets/e7177768-7721-405e-a838-90b12a1a6a9c

Would you like to work on the issue?

Prefer not

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Reactions: 3
  • Comments: 21 (1 by maintainers)

Most upvoted comments

@rohit9625 This issue has been fixed in #6367 which is now merged.

It’s totally fine to ask anyone for a review, don’t be sorry for that. I was just asking you to check the PR first as I already reviewed. Never mind, mistake happens 😃

Sorry I was busy. I’ll try to review it today.

@rohit9625 please review the PR

That’s great. Well done @Kota-Jagadeesh

@rohit9625 Thank you for your response regarding the problem I encountered. I am pleased to inform you that I have successfully resolved the error and also solved the issue - I will make a PR shortly . Thank you 😃

Image

Image hey @rohit9625 , After entering my username and password i should get the input text field for entering email right !? , But , instead here i am getting an error and not able to get the input field for entering the verification code , Can you tell me why ? , Thank you!

Ok 👍🏻 , i’ll start working on it 🙂

Hi @Kota-Jagadeesh, you can take this issue now 😃

@rohit9625 I just created a section about this: https://github.com/commons-app/commons-app-documentation/blob/master/android/Project-maintenance.md#issues-triage Feel free to add any information to that section, for instance habits that may seem natural to long-timers but that may not be obvious. 😃 Thanks a lot!

Sure, I am assigning you 🙂