Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jscti opened this issue Apr 1, 2020 · 1 comment

Comments

@jscti
Copy link

jscti commented Apr 1, 2020

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

@leocrawf
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants