-
Notifications
You must be signed in to change notification settings - Fork 148
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
Cannot sign if component in a ScrollView
#11
Comments
You can't use Signature in ScrollView yet. You can try adding a signature button in ScrollView, and clicking the button will pop up Modal and display Signature. |
indeed, i did just what you said and it works fine. I thought maybe using |
Has anyone been able to get this to work in scroll view?? Adding a Modal is not desirable... |
@ruegreen i think you can use scrollEnabled props in the ScrollView, when onBegin triggered you can set scrollEnabled with false, when onEnd triggered you can set scrollEnabled with true |
I can confirm that @robbywh's solution works for me. Thanks!! |
your welcome @isocra |
This doesn't seem to work very well any more. When using @robbywh's method, it scrolls once before allowing me to sign like normal. Anyone else had this issue/managed to fix it? See this video for more info: https://u.davwheat.dev/ozBM2i.mp4 |
@davwheat ,Hi, I think this is not a bug. It is a conflict of interaction design. The touch of ScrollView conflicts with the touch interaction of the signature area. You can try to put the signature component in Modal and add a click button in the ScrollView. When the button is clicked, the display modal, and then sign in the modal. |
Thanks @YanYuanFE for your reply |
When the
Signature
component is within aScrollView
, trying to sign will cause the view to scroll instead.The text was updated successfully, but these errors were encountered: