Skip to content

Date picker (iOS) is missing buttons on smaller screens #17745

@westy92

Description

@westy92

Steps to Reproduce

Note: Everything works as expected on a larger screen (iPhone X, iOS 11.3)

Problem device: Apple 32GB iPod touch (5th generation) running iOS 9.3.5

  1. Open date picker widget on iOS
  2. OK and CANCEL buttons are missing

img_0001
img_0002
View when debugging:
img_0004

Logs

This is logged when I open the date picker:

[+12623 ms] flutter: ══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═════════════════════════════════════════════════════════
[  +24 ms] flutter: The following message was thrown during layout:
[        ] flutter: A RenderFlex overflowed by 38 pixels on the bottom.
[ +122 ms] flutter: 
[   +6 ms] flutter: The overflowing RenderFlex has an orientation of Axis.vertical.
[   +1 ms] flutter: The edge of the RenderFlex that is overflowing has been marked in the rendering with a yellow and
[   +8 ms] flutter: black striped pattern. This is usually caused by the contents being too big for the RenderFlex.
[        ] flutter: Consider applying a flex factor (e.g. using an Expanded widget) to force the children of the
[        ] flutter: RenderFlex to fit within the available space instead of being sized to their natural size.
[        ] flutter: This is considered an error condition because it indicates that there is content that cannot be
[        ] flutter: seen. If the content is legitimately bigger than the available space, consider clipping it with a
[   +2 ms] flutter: ClipRect widget before putting it in the flex, or using a scrollable container rather than a Flex,
[   +1 ms] flutter: like a ListView.
[   +4 ms] flutter: The specific RenderFlex in question is:
[   +7 ms] flutter:   RenderFlex#d2ed7 relayoutBoundary=up7 OVERFLOWING
[        ] flutter:   creator: Column ← SizedBox ← LayoutBuilder ← OrientationBuilder ← DefaultTextStyle ←
[   +2 ms] flutter:   AnimatedDefaultTextStyle ← _InkFeatures-[GlobalKey#39ed3 ink renderer] ←
[        ] flutter:   NotificationListener<LayoutChangedNotification> ← CustomPaint ← _ShapeBorderPaint ← PhysicalShape
[   +1 ms] flutter:   ← _MaterialInterior ← ⋯
[        ] flutter:   parentData: <none> (can use size)
[   +3 ms] flutter:   constraints: BoxConstraints(w=240.0, 0.0<=h<=450.0)
[   +4 ms] flutter:   size: Size(240.0, 450.0)
[   +5 ms] flutter:   direction: vertical
[        ] flutter:   mainAxisAlignment: start
[        ] flutter:   mainAxisSize: min
[        ] flutter:   crossAxisAlignment: stretch
[        ] flutter:   verticalDirection: down
[   +3 ms] flutter: ◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤
[   +1 ms] flutter: ════════════════════════════════════════════════════════════════════════════════════════════════════

No issues found! (ran in 2.9s)
[✓] Flutter (Channel dev, v0.4.4, on Mac OS X 10.13.4 17E202, locale en-US)
    • Flutter version 0.4.4 at /Users/seth/Source/flutter
    • Framework revision f9bb4289e9 (8 days ago), 2018-05-11 21:44:54 -0700
    • Engine revision 06afdfe54e
    • Dart version 2.0.0-dev.54.0.flutter-46ab040e58

[✗] Android toolchain - develop for Android devices
    ✗ 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.io/setup/#android-setup for detailed instructions).
      If Android SDK has been installed to a custom location, set $ANDROID_HOME to that location.

[✓] iOS toolchain - develop for iOS devices (Xcode 9.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 9.3.1, Build version 9E501
    • ios-deploy 1.9.2
    • CocoaPods version 1.5.2

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

[✓] VS Code (version 1.23.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Dart Code extension version 2.12.1

[✓] Connected devices (1 available)
    • Seth's iPod touch • 8b28709d2292b357854d7702f39ac581a19624e2 • ios • iOS 9.3.5

! Doctor found issues in 2 categories.

Metadata

Metadata

Assignees

Labels

f: date/time pickerDate or time picker widgetsf: material designflutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions