YanYuanFE / react-native-signature-canvas

:black_nib: React Native Signature Component based WebView Canvas for Android && IOS && expo
MIT License
417 stars 149 forks source link

Component not working on iOS 13.6 #361

Closed fleuverouge closed 3 months ago

fleuverouge commented 3 months ago

Hi,

I'm facing this issue on iOS: Nothing happened when I touched and moved fingers on the component on iOS 13.6. It works normally on iOS 17 (tested on iPhone 13 - real device, and iPhone 15 Pro Max - simulator).

Here's the code:

<Signature style={styles.canvas} scrollable={false} onOK={img => console.log(img)} onBegin={() => { console.log('on begin'); }} onEnd={() => console.log('on end')} descriptionText="Sign" clearText="Clear" confirmText="Save" imageType="image/jpeg" onGetData={data => console.log(data)} />

Device info:

Packages info:

Any suggestion to fix this is welcome!

fleuverouge commented 3 months ago

Turned out it's a bug of react-native-webview.

I leave the link of the patch here in case someone got the same problem: https://github.com/react-native-webview/react-native-webview/issues/3349#issuecomment-2033921643