Skip to content
This repository has been archived by the owner on Oct 14, 2024. It is now read-only.

fix: TextField rendering #19

Merged
merged 1 commit into from
Jul 26, 2021
Merged

Conversation

matheusribeirozup
Copy link

Signed-off-by: Matheus Ribeiro matheus.ribeiro@zup.com.br

Description

There are some RenderObjects in Flutter that don't implement the getDryLayout method, such as the TextField widget, so it wasn't rendered. This PR adds a handle to the RenderMouseRegion, which is the RenderObject used by the TextField widget.

Other considerations

This is not a scalable solution, it may be that other widgets have the same behavior and therefore new fixes will have to be done. However, as the Beagle (the only yoga_engine user) has only TextField with this behavior, for now this is an acceptable solution.

Signed-off-by: Matheus Ribeiro <matheus.ribeiro@zup.com.br>
@matheusribeirozup matheusribeirozup added the bug Something isn't working label Jul 26, 2021
@matheusribeirozup matheusribeirozup self-assigned this Jul 26, 2021
@matheusribeirozup matheusribeirozup merged commit 78374d2 into master Jul 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants