TapGestureRecognizer not working for IOS
freerk92 opened this issue · comments
I'm using OxyPlot.Xamarin.Forms 1.0.0, Xamarin.Forms 2.4.0.38779.
TapGestureRecognizer does work for Android, but it doesn't for IOS.
Also please update the documentation, it's severely lacking or I am looking in the wrong place, but there is nothing to find about e.g. HandleGesture
<oxy:PlotView Model="{Binding PlotModel}" VerticalOptions="FillAndExpand" HorizontalOptions="FillAndExpand" > <View.GestureRecognizers> <TapGestureRecognizer Command="{Binding Source={x:Reference GraphPage}, Path=BindingContext.toggleLegend}" CommandParameter="{Binding .}"/> </View.GestureRecognizers> </oxy:PlotView>
Fixed it by using InputTransparent and picking up the gesture on the scrollview which encompassed the Plotview