react-native-signature-canvas icon indicating copy to clipboard operation
react-native-signature-canvas copied to clipboard

No ability to disable a signature pad

Open josh-thompson13 opened this issue 1 year ago • 5 comments

Does anyone know if there is a way to disable the signature pad? I want to 'lock' the pad after a user saves their signature.

josh-thompson13 avatar Nov 17 '22 04:11 josh-thompson13

This function is not available for the time being. I will consider adding this function in a few days

YanYuanFE avatar Dec 15 '22 14:12 YanYuanFE

This function is not available for the time being. I will consider adding this function in a few days

hello have you added this ability??

atefwahab avatar Feb 15 '23 11:02 atefwahab

@atefwahab @josh-thompson13 I would suggest to just hide the signature pad and show signature in the <Image> component or just create overlay with position absolute. Adding some semi transparent overlay also would improve UX and suggest user that signature pad is disabled.

kkaplinski avatar Mar 27 '23 09:03 kkaplinski

@atefwahab @josh-thompson13 I would suggest to just hide the signature pad and show signature in the <Image> component or just create overlay with position absolute. Adding some semi transparent overlay also would improve UX and suggest user that signature pad is disabled.

Yes I did consider this but it does not suit my use case. I need the drawpad to actually be disabled. :)

josh-thompson13 avatar Jun 28 '23 04:06 josh-thompson13

Wrap your component in View or whatever you like and set prop of pointerEvents to none.

rvmaher avatar Dec 05 '23 11:12 rvmaher