adar2378 / pin_code_fields

A flutter package which will help you to generate pin code fields with beautiful design and animations. Can be useful for OTP or pin code inputs 🤓🤓
https://pub.dev/packages/pin_code_fields
MIT License
699 stars 340 forks source link

Unable to re-focus after app was in background #262

Closed dennismuench closed 2 years ago

dennismuench commented 2 years ago

This only happens when autoUnfocus: false. Tested on Android (device). This occurs independently from other settings (such as focusNode or autoFocus).

If the pin_code_fields looses focus through the app going to background, the only way of re-focusing (getting the keyboard back up) is to paste something.

Flutter: 3.0.0 Android SDK version 32.0.0

This is a minimal configuration that still reproduces this phenomenon.

PinCodeTextField(
    appContext: context,
    length: 6,
    autoUnfocus: false,
    onChanged: (_) {},
]);
stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

allanwolski-openco commented 2 years ago

Why was this closed without a solution? Same problem here.