JoshDSommer / nativescript-slides

A NativeScript plugin that is for Intro Tutorials, Image Carousels or any other slide functionality
Other
70 stars 32 forks source link

ClipBound with false value is not supported by android Angular2 #86

Closed AKNiazi closed 7 years ago

AKNiazi commented 7 years ago

Hi,

I am running the example for angular2 provided in the description. But I keep getting following error.

clipToBounds with value false is not supported on Android. You can use this.android.getParent().setClipChildren(false) as an alternative

irman commented 7 years ago

Yes. I'm having the same issue. Although the app works on my emulator, I suspect this is the reason the app keep crashing on a real device, because this is the only warning I had when building.

JoshDSommer commented 7 years ago

I wonder if this is the offending code?

https://github.com/TheOriginalJosh/nativescript-slides/blob/master/nativescript-slides.ts#L494

irman commented 7 years ago

@TheOriginalJosh It probably is. Can you update it? I've no experience doing a PR. XD

Thanks!

JoshDSommer commented 7 years ago

@irman will do tonight man.

maddy2get commented 7 years ago

@TheOriginalJosh has this been fixed yet? Really great plugin :-)