Maui.FreakyControls icon indicating copy to clipboard operation
Maui.FreakyControls copied to clipboard

FreakyTextInputLayout setting default text breaks the title animation

Open FreakyAli opened this issue 1 year ago • 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

FreakyAli avatar Jun 10 '24 11:06 FreakyAli

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 avatar Jun 11 '24 13:06 sk1llsh0t

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

FreakyAli avatar Jun 11 '24 15:06 FreakyAli

@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.

FreakyAli avatar Jun 12 '24 05:06 FreakyAli