AndreiMisiukevich / CardView

CardsView | CarouselView | CoverflowView | CubeView for Xamarin.Forms
MIT License
710 stars 114 forks source link

Fix unable to do user interaction when IsUserInteractionEnabled=false #408

Closed InquisitorJax closed 2 years ago

InquisitorJax commented 2 years ago

description:

we host a skia canvas inside of the carouselView - and when we want to enable drawing, we set IsUserInteractionEnabled & IsPanInteractionEnabled = false

On iOS - we were still unable to draw, because the swipe gestures were still registered.

InquisitorJax commented 2 years ago

... here's something super odd - if I remove the CardsViewRenderer.Preserve(); from AppDelegate, then this bug doesn't happen 😂

AndreiMisiukevich commented 2 years ago

... here's something super odd - if I remove the CardsViewRenderer.Preserve(); from AppDelegate, then this bug doesn't happen 😂

yeah) because then linker cuts off all iOS-specific code :)