Skip to content

Touch effect does not show #44

@DamienDoumer

Description

@DamienDoumer

HI, I'm trying to implement a Fab which has touch effects, but the effects do not show up. unless I reload the control using hotreload. I applied it to a contentView as mentioned in your readme hopping that this will make it appear, but nothing,
The command works very well but not the effect

<xamEffects:BorderView HeightRequest="{Binding Size, Source={x:Reference fab}}"
                               WidthRequest="{Binding Size, Source={x:Reference fab}}"
                               CornerRadius="360"
                               BackgroundColor="Transparent">
                <ContentView xamEffects:TouchEffect.Color="{Binding Source={x:Reference fab}, Path=EffectColor}"
                             xamEffects:Commands.Tap="{Binding ClickedCommand, Source={x:Reference fab}}"
                             BackgroundColor="{Binding FabBackground, Source={x:Reference fab}}">
                    <Label Style="{StaticResource FontAwesomeSolidLabel}"
                           Text="{Binding Source={x:Reference fab}, Path=FontIcon}"
                           FontSize="Large" HorizontalOptions="Center"
                           VerticalOptions="Center"
                           TextColor="{Binding Source={x:Reference fab}, Path=IconColor}"/>
                </ContentView>
            </xamEffects:BorderView>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions