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

Auto size won't work after a rebuild #43

Open
gentunian opened this issue May 29, 2023 · 2 comments
Open

Auto size won't work after a rebuild #43

gentunian opened this issue May 29, 2023 · 2 comments

Comments

@gentunian
Copy link

gentunian commented May 29, 2023

Here's a repo with a minimal reproduction: https://github.com/gentunian/flutter-autosizetextfield-bug

When a rebuild is trigger, the auto size won't work.

Also, I have seeing that while using the ios simulator, the autosize won't work on a re-run.

EDIT: with "re-run" I wanted to say hotreload

@ghost
Copy link

ghost commented May 31, 2023

I am also facing the same issue on Android. This package is just useless. You can simply use IntrinsicWidth widget as a parent of textfield to increase its size automatically

@lzhuor
Copy link
Owner

lzhuor commented Jun 5, 2023

Hi @gentunian thank you for reporting the issue. I will have a look when having bandwidth.

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

No branches or pull requests

2 participants