flutter_chips_input icon indicating copy to clipboard operation
flutter_chips_input copied to clipboard

Keyboard disappears after upgrade to Flutter 2.5.0

Open freppps opened this issue 4 years ago • 8 comments

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)

freppps avatar Sep 13 '21 17:09 freppps

Having the same Issue. Did you find a workaround?

socramm9 avatar Sep 22 '21 18:09 socramm9

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

aj-989 avatar Sep 27 '21 05:09 aj-989

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

socramm9 avatar Sep 27 '21 08:09 socramm9

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

brianlenz avatar Oct 11 '21 21:10 brianlenz

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.

dominicbvm avatar Oct 20 '21 17:10 dominicbvm

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

brianlenz avatar Oct 20 '21 17:10 brianlenz

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

udcode avatar May 08 '22 13:05 udcode

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.

BurningAXE avatar Jun 06 '22 09:06 BurningAXE