react-native-opengraph-kit
react-native-opengraph-kit copied to clipboard
OpenGraphAwareInput onChange throws error ReferenceError: Can't find variable: event
Description of the issue
onChange function props attached to OpenGraphAwareInput throws an error
How to reproduce
Try the below code snippet
Code snippet
<OpenGraphAwareInput
showIcon
onChange={(event) => { console.log(event); }} />
ERROR
WARN Possible Unhandled Promise Rejection (id: 4):
ReferenceError: Can't find variable: event
http://10.0.2.2:8081/index.bundle?platform=android&dev=true&minify=false:141892:38
tryCallOne@http://10.0.2.2:8081/index.bundle?platform=android&dev=true&minify=false:27024:16
http://10.0.2.2:8081/index.bundle?platform=android&dev=true&minify=false:27125:27
_callTimer@http://10.0.2.2:8081/index.bundle?platform=android&dev=true&minify=false:30579:17
_callImmediatesPass@http://10.0.2.2:8081/index.bundle?platform=android&dev=true&minify=false:30615:19
callImmediates@http://10.0.2.2:8081/index.bundle?platform=android&dev=true&minify=false:30834:33
callImmediates@[native code]
__callImmediates@http://10.0.2.2:8081/index.bundle?platform=android&dev=true&minify=false:2591:35
http://10.0.2.2:8081/index.bundle?platform=android&dev=true&minify=false:2368:34
__guard@http://10.0.2.2:8081/index.bundle?platform=android&dev=true&minify=false:2574:15
flushedQueue@http://10.0.2.2:8081/index.bundle?platform=android&dev=true&minify=false:2367:21
flushedQueue@[native code]
invokeCallbackAndReturnFlushedQueue@[native code]
Versions
- React Native version : 0.61.2
- react-native-opengraph-kit version : ^3.0.0
- Provide us with a
yarn.lockorpackage-lock.json: https://gist.github.com/raghava/0a372a94f7948c241438624bc81dd2a0
Hi there, would you mind trying with v 3.0.1 please ? 🙂