nativescript-drawingpad icon indicating copy to clipboard operation
nativescript-drawingpad copied to clipboard

IOS : Conflicting gestures when drawing pade loaded in a non-fullscreen modal

Open jscti opened this issue 4 years ago • 1 comments

When loading a component containing the drawingPad inside a Modal view, the drawing gestures are conflicting with the IOS modal "panDownToDismiss".. When drawing, the whole modal moves as it think I want to close it with a scroll down. I can do a video If it's needed.

To reproduce :

const options: ModalDialogOptions = {
    viewContainerRef: this._vcRef,
    fullscreen: false
};

this._modalService.showModal(DrawingComponent, options)
    .then((result: string) => {
        console.log(result);
    });

I tried isUseInteractionEnabled / isPassThroughParentEnabled without success. Any clue .?

Thanks

jscti avatar Apr 01 '20 15:04 jscti

Try loading it in a custom modal that is created using Layout view

leocrawf avatar May 22 '20 02:05 leocrawf