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

🐛 TextFormBox expands not working #202

Closed
lucas3g opened this issue Feb 24, 2022 · 3 comments · Fixed by #291
Closed

🐛 TextFormBox expands not working #202

lucas3g opened this issue Feb 24, 2022 · 3 comments · Fixed by #291
Labels
bug Something isn't working

Comments

@lucas3g
Copy link

lucas3g commented Feb 24, 2022

Describe the bug
TextFormBox prop expands not working. But with textbox it works perfectly.

To Reproduce
Steps to reproduce the behavior:
add a simple code

import 'package:fluent_ui/fluent_ui.dart';

class TestePage extends StatefulWidget {
  TestePage({Key? key}) : super(key: key);

  @override
  State<TestePage> createState() => _TestePageState();
}

class _TestePageState extends State<TestePage> {
  @override
  Widget build(BuildContext context) {
    return Container(
      color: Colors.red,
      height: 200,
      child: TextFormBox(
        maxLines: null,
        minLines: null,
        expands: true,
      ),
    );
  }
}

Expected behavior
I expected the TextFormField to occupy all the space in the container

Screenshots
image

@bdlukaa bdlukaa added the bug Something isn't working label Feb 24, 2022
@bdlukaa
Copy link
Owner

bdlukaa commented Apr 13, 2022

I am checking this now! It seems it's caused by the FormRow widget, used inside of TextFormBox

@BestOwl
Copy link

BestOwl commented Jul 17, 2022

@bdlukaa This bug appears again in the latest version 3.12.0.

@s42b
Copy link

s42b commented May 5, 2023

@bdlukaa Please reopen this bug. This bug still occurs in the latest version 4.5.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants