widgetbook icon indicating copy to clipboard operation
widgetbook copied to clipboard

fix: material text field label not showing correctly

Open jenshor opened this issue 3 years ago • 3 comments

Description The label of the TextField does not render correctly in widgetbook. This might be a Theme problem.

Screenshots

Simulator: image

Widgetbook: image

jenshor avatar Jul 11 '22 08:07 jenshor

@jenshor Any updates on this?

Solano-Furlan avatar Aug 01 '22 14:08 Solano-Furlan

Hey @Solano-Furlan, we know this is important to you but haven't had the time to look into this. We hope to be able to tackle this next week.

jenshor avatar Aug 01 '22 16:08 jenshor

@jenshor Any updates on this?Thanks.

adrianostas avatar Sep 19 '22 17:09 adrianostas

Sorry that we haven't been around to solve the problem. I just looked into the problem on our most recent beta version and I cannot longer reproduce the problem.

Screenshot:

image

Code (using widgetbook_generator)

@WidgetbookUseCase(name: 'Bugfix', type: TextField)
Widget textFieldBugFix(BuildContext context) {
  return const TextField(
    decoration: InputDecoration(
      label: Text('This is a label'),
      hintText: 'Placeholder',
    ),
  );
}

jenshor avatar Feb 06 '23 16:02 jenshor

Since we are currently unable to reproduce the bug I'm closing this issue for now, but please feel free to reopen this issue if you have additional information or if you have code with which we can reproduce the problem.

jenshor avatar Feb 06 '23 16:02 jenshor