FreakyAli/Maui.FreakyControls

FreakyTextInputLayout setting default text breaks the title animation

FreakyAli opened this issue · 3 comments

Description

Just set a default text to the TIL

Code

<FreakyTextInputLayout
Text= "Whatever"
Title="Title"
BorderType="Full"
/>

Expected Behavior

The title should animate to the top of the entry

Actual Behavior

It gets stuck in the middle.

Basic Information

Version with issue: 0.4.12

Testing your code example, everything looks right to me when i test on an android device. There shouldn't be any animation if the text is prepopulated. the entry should show "Whatever" and the floating label "Title" should be at the top automatically (no animation).

Here's what i see when the page loads using the above code snippet:
image

This is what i'd expect based on default values

@sk1llsh0t I will recheck this soon and update my code, it probably has to do with the wrong values there

@sk1llsh0t For some weird reason, I am unable to reproduce this, I will keep this open for the time being if I reproduce this, I guess this happened in Hot reload.