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
690 stars 336 forks source link

keyboard dispose #290

Closed Karlen96 closed 1 year ago

Karlen96 commented 1 year ago

During dispose method of PinCodeTextField the keyboard is being programmatically closed. On navigation change with disposal of previous page (with the PinCodeTextField) the autofocus of the new page is not working.

autoDismissKeyboard: false, autoUnfocus: false

[✓] Flutter (Channel stable, 3.3.3, on macOS 13.0 22A5286j darwin-arm, locale en-AM) • Flutter version 3.3.3 on channel stable at /opt/homebrew/Caskroom/flutter/3.3.1/flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 18a827f393 (2 weeks ago), 2022-09-28 10:03:14 -0700 • Engine revision 5c984c26eb • Dart version 2.18.2 • DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1) • Android SDK at /Users/karlenmkrtchyan/Library/Android/sdk • Platform android-33, build-tools 32.1.0-rc1 • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866) • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.0) • Xcode at /Applications/Xcode.app/Contents/Developer • Build 14A309 • CocoaPods version 1.11.3

[✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.3) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[✓] Connected device (3 available) • iPhone 13 Pro (mobile) • E3430669-9E06-43C0-BA1F-167FD7E340DB • ios • com.apple.CoreSimulator.SimRuntime.iOS-15-4 (simulator) • macOS (desktop) • macos • darwin-arm64 • macOS 13.0 22A5286j darwin-arm • Chrome (web) • chrome • web-javascript • Google Chrome 106.0.5249.103

[✓] HTTP Host Availability • All required HTTP hosts are available

• No issues found!

stale[bot] commented 1 year 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.