Skip to content
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

Text fields in dialogs are collapsed when keyboard is showing (Edit Title & Category) #1660

Closed
thgoebel opened this issue Jan 30, 2023 · 4 comments · Fixed by #1689
Closed
Labels

Comments

@thgoebel
Copy link
Contributor

Please use GitHub reactions 👍 to show that you are affected by the same issue. Please don't comment if you have no relevant information to add!

Describe the bug

On small-enough devices the content of the text field in dialogs is collapsed and not fully visible.

I can reproduce this on an OnePlus 5, with a screen size of 139.7 mm / 5.5 in.

You can type text, but it will only be visible when you collapse the keyboard (then the text field expands to normal size).
iirc the Files app also had a similar issue after migrating to Material 3.

To Reproduce

  1. Open a note
  2. Click on the overflow menu
  3. Click "Edit title" OR "Category"

Expected behavior

Never collapse the text field.

Screenshots

Smartphone

  • Nextcloud Notes-Version (android app): 3.7.1
  • F-Droid or Play Store: F-Droid
  • Android-Version: 13
  • Device: cheeseburger

Server

  • Nextcloud version: n/a
  • Nextcloud Notes version (server app): n/a

Stacktrace

n/a

@thgoebel thgoebel added the bug label Jan 30, 2023
@stefan-niedermann
Copy link
Member

Can you please post the screen size (in inches) and resolution of your device?

@stefan-niedermann stefan-niedermann mentioned this issue Jan 31, 2023
17 tasks
@thgoebel
Copy link
Contributor Author

5.5 inches and 1080 x 1920 resolution

@AlvaroBrey
Copy link
Member

AlvaroBrey commented Jan 31, 2023

Relevant fix from Files: nextcloud/android#10962

The only way to fix it there was to change the way we were opening the soft keyboard. And yes the delay was also necessary :(

@cieska
Copy link

cieska commented Feb 20, 2023

Same here

_ _
Screenshot_20230220-164216 Screenshot_20230220-164208

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants