Skip to content

CupertinoAlertDialog actions obstructs CupertinoTextField content with placeholder text #174774

@jpwoodbu

Description

@jpwoodbu

Steps to reproduce

  1. Use a CupertinoAlertDialog widget.
  2. Set its content to a CupertinoTextField.
  3. Set its placeholder to some String.
  4. Add at least one action.

Expected results

The CupertinoTextField with its placeholder text should be completely visible and not obstructed.

Actual results

The clickable action area partly obstructs the CupertinoTextField.

Code sample

Code sample

https://dartpad.dev/?id=2a1dc8d9433f6c52ce798de3032e2b65

Screenshots or Video

Screenshots / Video demonstration Image

Logs

Logs

No flutter commands were run.

Flutter Doctor output

Doctor output
% fvm flutter doctor -v
[✓] Flutter (Channel stable, 3.35.2, on macOS 15.6.1 24G90 darwin-arm64, locale en-US) [314ms]
    • Flutter version 3.35.2 on channel stable at /Users/jpwoodbu/fvm/versions/3.35.2
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 05db968908 (6 days ago), 2025-08-25 10:21:35 -0700
    • Engine revision a8bfdfc394
    • Dart version 3.9.0
    • DevTools version 2.48.0
    • Feature flags: enable-web, enable-linux-desktop, enable-macos-desktop, enable-windows-desktop, enable-android,
      enable-ios, cli-animations, enable-lldb-debugging

[✗] Android toolchain - develop for Android devices [272ms]
    ✗ Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/to/macos-android-setup for detailed instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.


[✓] Xcode - develop for iOS and macOS (Xcode 16.2) [1,618ms]
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 16C5032a
    • CocoaPods version 1.16.2

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

[!] Android Studio (not installed) [6ms]
    • 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).

[✓] VS Code (version 1.102.3) [6ms]
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.116.0

[✓] Connected device (3 available) [6.3s]
    • iPhone SE (3rd generation) (mobile) • D3DBB0BB-C5AD-48E7-82C3-8100CB54361B • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-18-2 (simulator)
    • macOS (desktop)                     • macos                                • darwin-arm64   • macOS 15.6.1 24G90
      darwin-arm64
    • Chrome (web)                        • chrome                               • web-javascript • Google Chrome
      139.0.7258.155

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

! Doctor found issues in 2 categories.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listc: regressionIt was better in the past than it is nowf: cupertinoflutter/packages/flutter/cupertino repositoryfound in release: 3.35Found to occur in 3.35found in release: 3.36Found to occur in 3.36frameworkflutter/packages/flutter repository. See also f: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work onr: fixedIssue is closed as already fixed in a newer versionteam-designOwned by Design Languages teamtriaged-designTriaged by Design Languages team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions