Skip to content

The cursor in a text field is not the same size as Android apps #7034

Closed

Description

@Hixie

If you compare the cursor in the wifi "add network" dialog's text fields to our own, you can see that our cursor is both narrower and shorter than the system widget's cursor.

Activity

  1. added this to the milestone on Feb 27, 2017
  2. added
    a: text inputEntering text in a text field or keyboard related problems
    frameworkflutter/packages/flutter repository. See also f: labels.
    a: fidelityMatching the OEM platforms better
    on Apr 24, 2018
  3. lukepighetti commented on Jun 17, 2018

    @lukepighetti
    Contributor

    It's also much different than the iOS cursor

  4. goderbauer commented on Dec 27, 2018

    @goderbauer
    Member

    /cc @GaryQian @jslavitz I think one of you were recently working on cursor size. Did this get fixed by any chance as part of that work?

  5. zoechi commented on Jan 29, 2019

    @zoechi
    Contributor

    In iOS it looks good now #20694

    but not in Android

    image

    image

  6. heath3n commented on May 2, 2019

    @heath3n

    The cursor height is also noticeably shorter when no text has been entered vs when it succeeds an entered character.

  7. parthvora25 commented on Jul 8, 2019

    @parthvora25

    @heath3n try giving textstyle height of 1.2 according to device height. But this is only for tablet that i have done. This is just a workaround. I dont think there is any proper solution to it as of now.

  8. added
    P2Important issues not at the top of the work list
    on May 29, 2020
  9. removed this from the milestone on Jun 2, 2020
  10. removed this from the milestone on Jun 2, 2020
  11. TahaTesser commented on Jul 21, 2020

    @TahaTesser
    Contributor
    flutter doctor -v
    [✓] Flutter (Channel dev, 1.21.0-1.0.pre, on Mac OS X 10.15.6 19G73, locale en-GB)
        • Flutter version 1.21.0-1.0.pre at /Users/taha/Code/flutter_dev
        • Framework revision f25bd9c55c (7 days ago), 2020-07-14 20:26:01 -0400
        • Engine revision 99c2b3a245
        • Dart version 2.9.0 (build 2.9.0-21.0.dev 20bf2fcf56)
    
     
    [✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
        • Android SDK at /Users/taha/Code/sdk
        • Platform android-29, build-tools 29.0.3
        • ANDROID_HOME = /Users/taha/Code/sdk
        • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
        • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
        • All Android licenses accepted.
    
    [✓] Xcode - develop for iOS and macOS (Xcode 11.6)
        • Xcode at /Applications/Xcode.app/Contents/Developer
        • Xcode 11.6, Build version 11E708
        • CocoaPods version 1.9.3
    
    [✓] Chrome - develop for the web
        • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
    
    [✓] Android Studio (version 4.0)
        • Android Studio at /Applications/Android Studio.app/Contents
        • Flutter plugin version 47.1.2
        • Dart plugin version 193.7361
        • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    
    [✓] VS Code (version 1.47.2)
        • VS Code at /Applications/Visual Studio Code.app/Contents
        • Flutter extension version 3.12.2
    
    [✓] Connected device (5 available)
        • SM M305F (mobile)      • 32003c30dc19668f          • android-arm64  • Android 10 (API 29)
        • Taha’s iPhone (mobile) • 00008020-001059882212002E • ios            • iOS 13.6
        • macOS (desktop)        • macos                     • darwin-x64     • Mac OS X 10.15.6 19G73
        • Web Server (web)       • web-server                • web-javascript • Flutter Tools
        • Chrome (web)           • chrome                    • web-javascript • Google Chrome 84.0.4147.89
    
    • No issues found!
    
  12. 8 remaining items

  13. added and removed
    team-androidOwned by Android platform team
    triaged-androidTriaged by Android platform team
    on Oct 16, 2023
  14. added and removed on Mar 21, 2024
  15. justinmc commented on Mar 21, 2024

    @justinmc
    Contributor

    The cursor situation has changed a lot since this issue was opened, so I'm going to go ahead and close this in favor of: #120836

  16. added
    r: duplicateIssue is closed as a duplicate of an existing issue
    on Mar 22, 2024
  17. github-actions commented on Apr 5, 2024

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  18. locked as resolved and limited conversation to collaborators on Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work lista: fidelityMatching the OEM platforms bettera: text inputEntering text in a text field or keyboard related problemsfound in release: 3.10Found to occur in 3.10found in release: 3.7Found to occur in 3.7frameworkflutter/packages/flutter repository. See also f: labels.fyi-designFor the attention of Design Languages teamhas reproducible stepsThe issue has been confirmed reproducible and is ready to work onplatform-androidAndroid applications specificallyr: duplicateIssue is closed as a duplicate of an existing issueteam-text-inputOwned by Text Input teamtriaged-frameworkTriaged by Framework team

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions