AndreiMisiukevich / TouchEffect

UI-responsive touch effects for Xamarin.Forms
MIT License
195 stars 33 forks source link

only half clickable on big square frame #91

Closed BySuspect closed 2 years ago

BySuspect commented 2 years ago

Hello i have a problem with touch effect its working only half a frame my code:

ezgif com-gif-maker

<frame
  touch:TouchEff.NativeAnimation="true"
  touch:TouchEff.NativeAnimationColor="#2E000000"
  touch:TouchEff.PressedAnimationDuration="500"
  touch:TouchEff.PressedOpacity="0.6"
  touch:TouchEff.PressedScale="0.95"
  touch:TouchEff.RegularAnimationDuration="400"
  touch:TouchEff.RippleCount="0"
  BackgroundColor="{Binding BackgroundColor}"
  BorderColor="White"
  CornerRadius="15"
>
  <Frame.GestureRecognizers>
    <TapGestureRecognizer />
  </Frame.GestureRecognizers>
  <Grid>
    <image
      x:Name="btnAnaSayfaCariHesaplar"
      BackgroundColor="Transparent"
      HorizontalOptions="Center"
      Source="users64px.png"
      VerticalOptions="Start"
    />
    <label
      BackgroundColor="Transparent"
      FontAttributes="Bold"
      FontSize="20"
      HorizontalOptions="Center"
      HorizontalTextAlignment="Center"
      Text="Cari Hesaplar"
      TextColor="{Binding TextColor}"
      VerticalOptions="End"
    />
  </Grid>
</frame>
BySuspect commented 2 years ago

im an idiot oky i fixed it some views are on invisible and making unclicable frames

AndreiMisiukevich commented 2 years ago

Hi @BySuspect I propose to switch to XamarinCommunityToolkit as I contributed this plugin there