YanYuanFE/react-native-signature-canvas

Component not working on iOS 13.6

Closed this issue · 1 comments

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:

  • iPhone 6S (real device)
  • iOS 13.6

Packages info:

  • react-native: 0.71.17
  • react-native-webview: 13.8.7
  • react-native-signature-canvas: 4.7.2

Any suggestion to fix this is welcome!

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: react-native-webview/react-native-webview#3349 (comment)