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

[BUG] - SuperTextField does not open keyboard on iOS Safari #2416

Open
brian-superlist opened this issue Nov 19, 2024 · 2 comments
Open

[BUG] - SuperTextField does not open keyboard on iOS Safari #2416

brian-superlist opened this issue Nov 19, 2024 · 2 comments
Assignees
Labels
area_supertextfield Pertains to SuperTextField awaiting-customer-feedback Waiting for the customer to respond to us bounty_junior f:superlist Funded by Superlist type_bug Something isn't working

Comments

@brian-superlist
Copy link
Contributor

Package Version
Super editor main branch

User Info
Superlist

To Reproduce
Steps to reproduce the behavior:

  1. Run Example app on Web. In the run options, set a custom web hostname: --web-hostname your.local.ip.address.here --web-port 8080
  2. Ignore the Chrome app launched
  3. On an iOS device, open the example app on Safari at the hostname and port specified above.
  4. Open the SuperTextField Demo
  5. Open the "TextField inside slivers" demo or "TextField inside SingleChildScrollView" demo
  6. Tap on the text field

Actual behavior
The keyboard does not open

Expected behavior
The keyboard should open

Platform
iOS, Web, Safari

Flutter version
Flutter master

[✓] Flutter (Channel master, 3.27.0-1.0.pre.554, on macOS 15.1 24B83 darwin-arm64, locale en-US)
    • Flutter version 3.27.0-1.0.pre.554 on channel master at /Users/brian/superlist/superlist/.flutter
    • Upstream repository [email protected]:flutter/flutter.git
    • Framework revision 966aeb28ea (6 hours ago), 2024-11-19 04:17:26 -0500
    • Engine revision b6723e33b8
    • Dart version 3.7.0 (build 3.7.0-160.0.dev)
    • DevTools version 2.41.0-dev.2

[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
    • Android SDK at /Users/brian/Library/Android/sdk
    • Platform android-35, build-tools 35.0.0
    • ANDROID_HOME = /Users/brian/Library/Android/sdk
    • Java binary at: /usr/bin/java
    • Java version OpenJDK Runtime Environment Zulu17.50+19-CA (build 17.0.11+9-LTS)
    • All Android licenses accepted.

[!] Xcode - develop for iOS and macOS (Xcode 16.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 16B40
    ! CocoaPods 1.16.1 out of date (1.16.2 is recommended).
        CocoaPods is a package manager for iOS or macOS platform code.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/to/platform-plugins
      To update CocoaPods, see https://guides.cocoapods.org/using/getting-started.html#updating-cocoapods

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

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/to/macos-android-setup for detailed instructions).

[✓] IntelliJ IDEA Ultimate Edition (version 2024.3)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 82.2.4
    • Dart plugin version 243.21565.120

[✓] VS Code (version 1.95.3)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.100.0

[✓] Connected device (4 available)
    • Briphone (mobile)               • 00008120-000A20980233401E • ios            • iOS 18.0.1 22A3370
    • macOS (desktop)                 • macos                     • darwin-arm64   • macOS 15.1 24B83 darwin-arm64
    • Mac Designed for iPad (desktop) • mac-designed-for-ipad     • darwin         • macOS 15.1 24B83 darwin-arm64
    • Chrome (web)                    • chrome                    • web-javascript • Google Chrome 131.0.6778.70
    ! Error: Browsing on the local area network for Brian’s iPad. Ensure the device is unlocked and attached with a cable or associated with the same local area network as this Mac.
      The device must be opted into Developer Mode to connect wirelessly. (code -27)

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 2 categories.

@brian-superlist brian-superlist added type_bug Something isn't working f:superlist Funded by Superlist labels Nov 19, 2024
@angelosilvestre
Copy link
Collaborator

Hi @brian-superlist. I tested the demos you mentioned and it seems both of them use SuperDesktopTextField directly. The SuperDesktopTextField does not attempt to show a software keyboard upon click. When testing using SuperTextField instead of SuperDesktopTextField it seems to work correctly.

Were you able to reproduce this with SuperTextField?

@brian-superlist
Copy link
Contributor Author

brian-superlist commented Nov 27, 2024

Ah whoops, on our SuperTextField is not opening the keyboard on mobile web. I'll have to produce a different minimal repro

@angelosilvestre angelosilvestre added the awaiting-customer-feedback Waiting for the customer to respond to us label Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area_supertextfield Pertains to SuperTextField awaiting-customer-feedback Waiting for the customer to respond to us bounty_junior f:superlist Funded by Superlist type_bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants