Repository navigation
[showDatePicker] RenderFlex overflow exception with orientation of Axis.vertical and setting the text size to smallest from device settings. #61334
Description
Activity
Hi @crtingram,
Please provide a minimal complete reproducible code sample that shows this issue. Can you also confirm if this happens on Android device ?- addedin triagePresently being triaged by the triage teamPresently being triaged by the triage teamwaiting for responseThe Flutter team cannot make further progress on this issue until the original reporter respondsThe Flutter team cannot make further progress on this issue until the original reporter responds
on Jul 13, 2020 @darshankawar Here is the a minimal complete reproducible code sample. I can confirm that this issue does not occur on my Android tablet, or any of the emulators that I have tried. Only on my iPhone 7.
Code Sample
import 'package:flutter/material.dart'; void main() => runApp(MyApp()); class MyApp extends StatelessWidget { @override Widget build(BuildContext context) { return MaterialApp( title: 'Flutter Demo', debugShowCheckedModeBanner: false, theme: ThemeData( primarySwatch: Colors.blue, ), home: MyHomePage(title: 'Flutter Demo Home Page'), ); } } class MyHomePage extends StatefulWidget { MyHomePage({Key key, this.title}) : super(key: key); final String title; @override _MyHomePageState createState() => _MyHomePageState(); } class _MyHomePageState extends State<MyHomePage> { int _counter = 0; DateTime _fromDate = DateTime.now(); Future<void> _showDatePicker() async { final picked = await showDatePicker( context: context, initialDate: _fromDate, firstDate: DateTime(2015, 1), lastDate: DateTime(2100), ); if (picked != null && picked != _fromDate) { setState(() { _fromDate = picked; }); } } @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar( title: Text(widget.title), ), body: Center( child: Column( mainAxisAlignment: MainAxisAlignment.center, children: <Widget>[ Text( 'You have pushed the button this many times:', ), Text( '$_counter', style: Theme.of(context).textTheme.headline4, ), ], ), ), floatingActionButton: FloatingActionButton( onPressed: _showDatePicker, tooltip: 'Increment', child: Icon(Icons.add), ), ); } }- removedwaiting for responseThe Flutter team cannot make further progress on this issue until the original reporter respondsThe Flutter team cannot make further progress on this issue until the original reporter responds
on Jul 13, 2020 Hi @crtingram,
Since I don't have iPhone 7, I can't replicate the issue. I tried on iPhone 11 and 8 and don't see the overflow. Also tried on Samsung devices but didn't see the issue. May be it has to do with smaller screen devices.- addede: device-specificOnly manifests on certain devicesOnly manifests on certain devicesf: date/time pickerDate or time picker widgetsDate or time picker widgetsframeworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.platform-iosiOS applications specificallyiOS applications specificallyfound in release: 1.20Found to occur in 1.20Found to occur in 1.20has 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: 1.17Found to occur in 1.17Found to occur in 1.17and removedfound in release: 1.20Found to occur in 1.20Found to occur in 1.20
on Jul 14, 2020 26 remaining items
- addedfound in release: 3.24Found to occur in 3.24Found to occur in 3.24and removede: device-specificOnly manifests on certain devicesOnly manifests on certain devices
on Jul 9, 2024 - removedtriaged-designTriaged by Design Languages teamTriaged by Design Languages team
on Jul 11, 2024 This issue is missing a priority label. Please set a priority label when adding the
triaged-designlabel.- addedP2Important issues not at the top of the work listImportant issues not at the top of the work list
on Jul 11, 2024 - addedtriaged-designTriaged by Design Languages teamTriaged by Design Languages team
on Jul 11, 2024 - added a commit that references this issue
on Jul 31, 2024 - addedr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer version
on Aug 1, 2024 - added a commit that references this issue
on Aug 7, 2024 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 Aug 15, 2024 - added a commit that references this issue
on Sep 2, 2024
Steps to Reproduce
This is only occurring on my iPhone 7 right now. Also despite what the doctor says I do have both dart and flutter plugins installed and up to date (another issues I will have to look into).
Expected results:
Expect to see error message "Out of Range", not overflow message in flutter.
Actual results:
See attached image.
Logs