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

TextFormField does not respect flex size on text overflow #3

Closed
talski opened this issue Jun 14, 2021 · 3 comments
Closed

TextFormField does not respect flex size on text overflow #3

talski opened this issue Jun 14, 2021 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@talski
Copy link

talski commented Jun 14, 2021

If I enter some big text without spaces, the TextFormField will grow with it, not respecting the flex size

image

Reproduction code

@andyduke
Copy link
Owner

Yes, I see that the problem is that the TextField returns the minimum required width to accommodate all the entered text, without scrolling.

I will probably have to come up with a different algorithm for calculating the width of the areas that the widgets nested in Fluid can fit into.

I have not yet found how this can be done without several passes and measurements of the width of the child widgets, which is a rather expensive operation.

@andyduke andyduke self-assigned this Jun 14, 2021
@andyduke andyduke added the bug Something isn't working label Jun 14, 2021
@andyduke
Copy link
Owner

@talski I have released a fixed version, check if this solved your problem.

@talski
Copy link
Author

talski commented Jun 15, 2021

it's working correctly now, thank you for the fast response

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

2 participants