You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[iOS] - Crash on gestures - node_modules/@nativescript/core/ui/gestures/gestures.ios.js:269:0: JS ERROR TypeError: null is not an object (evaluating 'args.view.nativeViewProtected')
#8641
Closed
mapo80 opened this issue
Jun 16, 2020
· 3 comments
· Fixed by #8645
Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):
Environment
Provide version numbers for the following components (information can be retrieved by running
tns info
in your project folder or by inspecting thepackage.json
of the project):6.7.4
6.5.5
6.5.0
6.5.0
nativescript-material-bottomsheet: 3.2.8
Describe the bug
Use plugin to show bottomsheet and closing modal we have this error:
To Reproduce
To reproduce crash use sample project linked below.
If crash doesn't show up try a few times.
Expected behavior
Sample project
Here you can find a sample project to reproduce crash:
https://github.com/mapo80/ns-bug-gestures
Additional context
I've created a temporary fix using Webpack and changing source code of file "@nativescript/core/ui/gestures/gestures.ios.js".
This is the fix (but is only temporary):
I've replaced this:
var center = recognizer.locationInView(args.view.nativeViewProtected);
with this:
How to solve this crash definitely?
The text was updated successfully, but these errors were encountered: