Repository navigation
CupertinoTextFormFieldRow with placeholder causes unnecessary scrolling in CupertinoAlertDialog #174797
Copy link
Copy link
Closed
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listfound in release: 3.35Found to occur in 3.35Found to occur in 3.35found in release: 3.36Found to occur in 3.36Found to occur in 3.36frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onp: cupertino_uicupertino_ui package in flutter/packagescupertino_ui package in flutter/packagesr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer versionteam-designOwned by Design Languages teamOwned by Design Languages teamtriaged-designTriaged by Design Languages teamTriaged by Design Languages team
Description
Activity
Wrapping the input into a
SizedBoxmay fix the problem, I think it's not supposed to behave like this.child: SizedBox( height: MediaQuery.of(context).textScaler.scale(58), child: CupertinoTextFormFieldRow( controller: state.nameController, placeholder: 'Placeholder' ), ),
- addedin triagePresently being triaged by the triage teamPresently being triaged by the triage team
on Sep 2, 2025 Thanks for the report. Seeing the same behavior as reported on latest sdk versions.
stable : 3.35.2 master : 3.36.0-1.0.pre-372- addedp: cupertino_uicupertino_ui package in flutter/packagescupertino_ui package in flutter/packagesframeworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onfound in release: 3.35Found to occur in 3.35Found to occur in 3.35found in release: 3.36Found to occur in 3.36Found to occur in 3.36team-designOwned by Design Languages teamOwned by Design Languages teamand removedin triagePresently being triaged by the triage teamPresently being triaged by the triage team
on Sep 2, 2025 Same for me!
- addedP2Important issues not at the top of the work listImportant issues not at the top of the work listtriaged-designTriaged by Design Languages teamTriaged by Design Languages team
on Sep 3, 2025 - added a commit that references this issue
on Sep 3, 2025 - addedr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer version
on Sep 4, 2025 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 -vand a minimal reproduction of the issue.- locked as resolved and limited conversation to collaborators
on Sep 18, 2025
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listfound in release: 3.35Found to occur in 3.35Found to occur in 3.35found in release: 3.36Found to occur in 3.36Found to occur in 3.36frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onp: cupertino_uicupertino_ui package in flutter/packagescupertino_ui package in flutter/packagesr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer versionteam-designOwned by Design Languages teamOwned by Design Languages teamtriaged-designTriaged by Design Languages teamTriaged by Design Languages team
Screen.Recording.2025-09-01.at.16.48.29.mov
Steps to reproduce
CupertinoTextFormFieldRowwith a non-nullplaceholderparameter causes the dialog content to become scrollable inCupertinoAlertDialog, even when there's sufficient space to display all content without scrolling.STR:
placeholderExpected results
The content is not scrollable and the placeholder is rendered correctly.
Actual results
The dialog content is scrollable in spite there's more than enough space
Code sample
Code sample
Screenshots or Video
Screenshots / Video demonstration
[Upload media here]
Logs
Logs
Any system/framework logsFlutter Doctor output
Doctor output