Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to get Date of Birth of the sample form to stick #26

Closed
yokiran opened this issue Feb 27, 2019 · 0 comments
Closed

Not able to get Date of Birth of the sample form to stick #26

yokiran opened this issue Feb 27, 2019 · 0 comments

Comments

@yokiran
Copy link

yokiran commented Feb 27, 2019

I'm on 1.4.0 on Android. Once I select the Date of Birth, it displays momentarily until the keyboard comes up and then the date vanishes. Similar issue with the Appointment Time. Also getting the render issue below when the keyboard is active and Date or Time widget is displayed.

I/flutter (19904): ══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═════════════════════════════════════════════════════════
I/flutter (19904): The following message was thrown during layout:
I/flutter (19904): A RenderFlex overflowed by 46 pixels on the right.
I/flutter (19904):
I/flutter (19904): The overflowing RenderFlex has an orientation of Axis.horizontal.
I/flutter (19904): The edge of the RenderFlex that is overflowing has been marked in the rendering with a yellow and
I/flutter (19904): black striped pattern. This is usually caused by the contents being too big for the RenderFlex.
I/flutter (19904): Consider applying a flex factor (e.g. using an Expanded widget) to force the children of the
I/flutter (19904): RenderFlex to fit within the available space instead of being sized to their natural size.
I/flutter (19904): This is considered an error condition because it indicates that there is content that cannot be
I/flutter (19904): seen. If the content is legitimately bigger than the available space, consider clipping it with a
I/flutter (19904): ClipRect widget before putting it in the flex, or using a scrollable container rather than a Flex,
I/flutter (19904): like a ListView.
I/flutter (19904): The specific RenderFlex in question is:
I/flutter (19904): RenderFlex#4ca06 relayoutBoundary=up4 OVERFLOWING
I/flutter (19904): creator: Row ← Padding ← ButtonBar ← ButtonTheme ← Column ← DecoratedBox ← Container ← Flexible ←
I/flutter (19904): Row ← SizedBox ← LayoutBuilder ← OrientationBuilder ← ⋯
I/flutter (19904): parentData: offset=Offset(4.0, 8.0) (can use size)
I/flutter (19904): constraints: BoxConstraints(0.0<=w<=104.0, 0.0<=h<=Infinity)
I/flutter (19904): size: Size(104.0, 48.0)
I/flutter (19904): direction: horizontal
I/flutter (19904): mainAxisAlignment: end
I/flutter (19904): mainAxisSize: max
I/flutter (19904): crossAxisAlignment: center
I/flutter (19904): textDirection: ltr
I/flutter (19904): verticalDirection: down

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants