FreakyAli / Maui.FreakyControls

FreakyControls is a free OSS UI Kit for .NET MAUI which provides a set of controls and utilities to build modern mobile apps.
MIT License
312 stars 37 forks source link

FreakyTextInputLayout setting default text breaks the title animation #135

Closed FreakyAli closed 1 month ago

FreakyAli commented 5 months ago

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

sk1llsh0t commented 5 months ago

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

FreakyAli commented 5 months ago

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

FreakyAli commented 5 months ago

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