SignaturePad - Disable finger input - Stylus only

ShaunBauerShaunBauer USMember ✭✭

Is it possible to disable finger input for SignaturePad? I have the control within a scrollview and everytime we scroll, we get a vertical line through the signature area.

Hoping there was a way I could disable finger input and allow navigation as normal unless a stylus is trying to input data (kinda like iPad / Apple Pencil / Notability)

Answers

  • ColeXColeX Member, Xamarin Team Xamurai

    Hoping there was a way I could disable finger input and allow navigation as normal unless a stylus is trying to input data (kinda like iPad / Apple Pencil / Notability)

    AFAIK , it's impossible on iOS or Android.

    SignaturePad was not working on scrollview before , the author fixed it (disable parent scrolling when writing),refer https://github.com/xamarin/SignaturePad/pull/22 .

    BTW ,putting SignaturePad inside scrollview is not a good idea ,refer https://stackoverflow.com/a/50474308/8187800.

  • ShaunBauerShaunBauer USMember ✭✭
    Thanks @ColeX . I knew ii was flirting with danger putting a signaturepad in a scroll view but couldn't think of a better way to list several questions.

    I ended up requiring the user to double tap the question before they could write, meaning it is disabled by default. Seems to work well without being too much of a UI / UX impact
Sign In or Register to comment.