ueman / feedback

A simple widget for getting better feedback.
https://pub.dev/packages/feedback
374 stars 92 forks source link

Backspace doesn't work #281

Open pixotri opened 4 months ago

pixotri commented 4 months ago

Version

3.0.1

Library

feedback

Flutter channel

stable

Flutter version

3.19.1

Platform

Android

Details

Backspace key doesn't work on Samsung keyboard (Z Fold 5) (long press is handled and works as expected). Changed keyboard to one from Microsoft, backspace key started to work normally. On newest Pixel with standard keyboard the same issue. On iOS it seems that the issue doesn't exist. The issue persists in all inputs located inside wrapped BetterFeedback widget. The input with issue description doesn't have the bug. I know that some time ago this issue was fixed, but it looks like it's back. PS all my inputs are located in AlertDialogs, maybe this is the cause?

Steps to reproduce

Install and use widget according to instructions. Put an input field into scaffold/alert dialog. Enter some text, try to remove it using backspace key.

Output of flutter doctor -v

[✓] Flutter (Channel stable, 3.19.1, on macOS 14.2.1 23C71 darwin-x64, locale en-GB)
    • Flutter version 3.19.1 on channel stable at /Users/admin/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision abb292a07e (7 days ago), 2024-02-20 14:35:05 -0800
    • Engine revision 04817c99c9
    • Dart version 3.3.0
    • DevTools version 2.31.1

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/admin/Library/Android/sdk
    • Platform android-34, build-tools 31.0.0
    • Java binary at: /Users/admin/Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.9-11255266)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15C500b
    • CocoaPods version 1.13.0

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

[!] Android Studio (version unknown)
    • Android Studio at /Users/admin/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
    ✗ Unable to determine Android Studio version.
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.9-11255266)

[✓] VS Code (version 1.86.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (4 available)
    • SM F946B (mobile)        • RFCW6156VSY               • android-arm64  • Android 14 (API 34)
    • iPad (Alexandr) (mobile) • 00008027-001318C63E11002E • ios            • iOS 17.3.1 21D61
    • macOS (desktop)          • macos                     • darwin-x64     • macOS 14.2.1 23C71 darwin-x64
    • Chrome (web)             • chrome                    • web-javascript • Google Chrome 122.0.6261.69

[✓] Network resources
    • All expected network resources are available.
ueman commented 4 months ago

The issue was fixed in Flutter itself, so you should open am issue on the Flutter repo. Therefore, I'm afraid I can't do much about the issue :(

I'll keep this issue open tho, so other people are aware of it.

pixotri commented 4 months ago

Just to clarify. The issue was always on the Flutter's side, right?

eb-so commented 1 month ago

@pixotri I'm facing the same issue, how did you fix it

pixotri commented 1 month ago

@eb-so in the version 3.1.0 of the library it seems to be gone at least on the devices I have :)

eb-so commented 1 month ago

@pixotri NVM I found the fix Thanks for the info anyway