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

Keyboard disappears after upgrade to Flutter 2.5.0 #97

Open
freppps opened this issue Sep 13, 2021 · 8 comments · May be fixed by #99
Open

Keyboard disappears after upgrade to Flutter 2.5.0 #97

freppps opened this issue Sep 13, 2021 · 8 comments · May be fixed by #99

Comments

@freppps
Copy link

freppps commented Sep 13, 2021

After upgrading to Flutter 2.5.0, when clicking the ChipsInput widget I'm only able to enter one character at a time before the keyboard disappears. This worked before upgrading to Flutter 2.5.0.

Above has been tested on iOS devices (Simulator and Iphone 11)

@socramm9
Copy link

Having the same Issue. Did you find a workaround?

@aj-989
Copy link

aj-989 commented Sep 27, 2021

same issue here, we had to revert to Flutter 2.2, waiting for a fix

@socramm9
Copy link

socramm9 commented Sep 27, 2021

for now I am using this version:

flutter_chips_input:
    git:
      url: https://github.com/jorelkimcruz/flutter_chips_input.git
      ref: fix_backspace_not_working_for_android_devices

@brianlenz
Copy link

I created #99 as an attempt to fix this issue. If anyone wants to test it, you can use this config in pubspec.yaml:

flutter_chips_input:
  git:
    url: https://github.com/SocialStrata/flutter_chips_input.git
    ref: fix_ios_focus_issue

@dominicbvm
Copy link

I created #99 as an attempt to fix this issue. If anyone wants to test it, you can use this config in pubspec.yaml:

flutter_chips_input:
  git:
    url: https://github.com/SocialStrata/flutter_chips_input.git
    ref: fix_ios_focus_issue

A couple of items I noticed in testing:

  1. Keyboard doesn't adhere to dark mode selection of device
  2. Cursor doesn't show in input field
  3. Sometimes when the field is just below an app bar, the suggestions display above the field instead of below and the app bar hides/obscures the suggestions or they are off screen.

Not sure if these findings are all related to your changes or not but thought I would pass them along.

@brianlenz
Copy link

@dominicbvm, yeah, I don't believe any of those would have anything to do with my change.

@udcode
Copy link

udcode commented May 8, 2022

@brianlenz thank you very much! it seems to work for

@BurningAXE
Copy link

I created #99 as an attempt to fix this issue. If anyone wants to test it, you can use this config in pubspec.yaml:

flutter_chips_input:
  git:
    url: https://github.com/SocialStrata/flutter_chips_input.git
    ref: fix_ios_focus_issue

When will this be merged in the official version? We cannot use the quick fix version with Flutter 3+, and v2.0.0 is still buggy on iOS.

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

Successfully merging a pull request may close this issue.

7 participants