Comments (5)
Hi, @mldb
Would you mind attaching some code?
from react-native-reanimated.
@osdnk
I have the same issue. When the component unmounts and I use setValue
about the same time, it crashes in disconnectNodes in NodesManager.java. I have several other animated values that listens to gesture state and onScroll event. However, when I remove the setValue call it never crashes..
Just a simple example to clarify what is happening:
this.animatedWidth = new Value(0)
componentDidMount() {
this.mounted = true
}
componentWillUnmount() {
this.mounted = false
}
onLayout = e => {
this.mounted && this.animatedWidth.setValue(e.nativeEvent.layout.width)
}
Any suggestions what to do? Stop throwing the JSApplicationIllegalArgumentException
or catch it?
from react-native-reanimated.
@mldb
Do you use setValue?
from react-native-reanimated.
@osdnk Yes
from react-native-reanimated.
Hey guys,
this thread seems inactive and PR submitted by @osdnk should fix this issue so I'm closing this issue.
If you have further concerns feel free to reopen
from react-native-reanimated.
Related Issues (20)
- Android back button no longer works with reduced motion HOT 3
- `console.log` on shared value does not print anything in Metro console HOT 1
- `useAnimatedStyle` does not support `hsl(x y% z%)` syntax for colors HOT 2
- [Bug🐛] layout function not behaving as expected in Expo 50.0.8 with new-arch HOT 3
- Can't run reanimated 3.7.2 with expo 50.0.1, but reanimated 3.6.0 can HOT 4
- useAnimatedKeyboard does not work for Android when the focused TextInput is inside a Modal HOT 2
- Android crashed in production mode (APK) HOT 4
- Task :app:mergeDebugResources FAILED HOT 5
- useAnimatedProps doesn't trigger render HOT 2
- All animations not working on some devices (Pixel 6/iPhone 11) HOT 3
- withRepeat does not repeat an entire animation block HOT 2
- Pan Gesture accelerates the animation speed HOT 1
- [Android] useScrollViewOffset not updating with Animated.FlatList RefreshControl
- ERROR ReferenceError: Property '_updateDataSynchronously' doesn't exist HOT 4
- Performance degradation with large objects and arrays HOT 9
- when i use react-native-draggable-flatlist i saw error... [Reanimated] Tried to synchronously call a non-worklet function on the UI thread. HOT 4
- Web crash on 3.8.0 HOT 6
- Compiling JS failed: Invalid expression Buffer size HOT 14
- Entering/Exiting animation crashes app on 3.8.0 HOT 1
- Android problem with function: replaceExistingNonRootView & removeSubviewsFromContainerWithID (RN 0.74.0-rc.3) HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-reanimated.