Closed AndrewEQ closed 3 years ago
Yeah.. it should have been fixed by #1405
This is fixed? I try in teh last version and I have the same problem
Example: (when I press Reset disappear)
<App>
<JavaScript>
var Observable = require("FuseJS/Observable");
var MyNumber = Observable("23");
function Reset() {
MyNumber.value = "0";
}
module.exports = {
MyNumber: MyNumber,
Reset: Reset
};
</JavaScript>
<StackPanel Background="#fff">
<TextInput Value="{MyNumber}" TextAlignment="Center" InputHint="Decimal" TextWrapping="Wrap" Alignment="Center" Width="90%" Padding="4" FontSize="50" TextColor="#000" CaretColor="#000" Margin="0,15,0,0">
<WhileContainsText>
<Change PlaceHolderTextViewerNumero.Opacity="0" />
</WhileContainsText>
<Text ux:Name="PlaceHolderTextViewerNumero" FontSize="14" TextColor="{ColorPrincipal}" Opacity="0.6" Value="Respuesta:" />
<Rectangle Height="2." Width="100%" Color="{ColorPrincipal}" Opacity="0.5" X="0%" Y="100%" />
</TextInput>
<Button Text="Reset">
<Clicked Handler="{Reset}" />
</Button>
</StackPanel>
</App>
Sorry, I have mistaken, the issue that has been resolved is for the TextView
, for theTextInput
I'll try to investigate
Yes, the problem was in textview but now I found it in textinput.
Thanks!!
It has been fixed by this PR: https://github.com/fuse-open/fuselibs/pull/1414
When Alignment is Center or Right, the text is not visible when not focused on the input.
Tested on Android 9 & 10
@ichan-mb sounds similar to the other issue you resolved: https://github.com/fuse-open/fuselibs/pull/1405