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

AutoSizeText does not work on Web #63

Open
KevinYan12138 opened this issue Jul 7, 2020 · 4 comments
Open

AutoSizeText does not work on Web #63

KevinYan12138 opened this issue Jul 7, 2020 · 4 comments
Labels
bug Something isn't working

Comments

@KevinYan12138
Copy link

Steps to Reproduce
I am currently running Flutter Beta 1.19.0-4.3.pre, and when I use AutoSizeText with a maxLines, the text does not resize. Instead, it will only keep the texts within the max number of lines and get rid of the rest of the text.

Code sample

Row(
                children: [
                  Container(
                    width: size.width * 0.3,
                    child: Image.asset('assets/Organizers_1.jpg')
                  ),
                  SizedBox(width: size.width * 0.2,),
                  SizedBox(
                    width: size.width * 0.3,
                    height: size.height * 0.1,
                    child: AutoSizeText('Sign up as a member or a manager. Manager is able to post events on a shared calendar that all members are able to view.',
                                style: TextStyle(height: 2,), maxLines: 3,
                    ),
                  )
                ],
              ),

Screenshots
If applicable, add screenshots to help explain your problem.

Version

  • Flutter version: [Beta 1.19.0-4.3.pre]
  • auto_size_text version: [^2.1.0]
@KevinYan12138 KevinYan12138 added the bug Something isn't working label Jul 7, 2020
@Niggelgame
Copy link

I currently have the same problem...

@Niggelgame
Copy link

@leisim are you still working on this plugin?

@jonnyjohnson1
Copy link

Having the same issue. I'm using Flutter Web. The overflow text gets cut off entirely. Height resizes. Width doesn't resize. All other text gets cut out of frame.

@nikto-b
Copy link

nikto-b commented Jul 8, 2022

Still breaks in release builds or after hot-reload on flutter web
flutter 3.1.0-9.0.pre

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

No branches or pull requests

4 participants