Skip to main content
How are we doing? Please help us improve Stack Overflow. Take our short survey

Questions tagged [react-animated]

For questions specifically related to the React Native Animated framework that is used to animate React Native components in a performant manner.

react-animated
1 vote
4 answers
63 views

Animate on removal from dom

What is the correct way to do animations when removing something from the DOM? It seems like no matter what I do, when I remove something form the dom, it doesn't trigger a re render until the items ...
Christopher Mellor's user avatar
0 votes
0 answers
17 views

Animation in react js

I have a circular animated loader. Now i want to add normal keyframes like we do in normal css.The problem is the data is 25% than only 25% of circle should have blue color and other 75% have any ...
Aayush shah's user avatar
0 votes
0 answers
72 views

Aandroid app crash -> JNI DETECTED ERROR IN APPLICATION: java_object == null

### Description I am getting multiple crash reports related to this package in the Google Play console report ### Steps to reproduce Use reanimated 2.14.4 and build the Android dev app ### Snack ...
Abhishek Khanduri's user avatar
0 votes
1 answer
64 views

ReactNative FlatList: fluid expansion of an item in an absolute layover

I am trying to implement a behaviour that is similar to the weather app on iOS: one has a list of city tiles. Upon clicking on one of the cities, it expands and grows in size, to overlay the list ...
Nikolay Melnikov's user avatar
0 votes
0 answers
207 views

Animations not working for "react-native-reanimated-carousel"

I copy and pasted their code snippet from their most default example: https://reanimated-carousel.dev/usage <Carousel loop width={width * 0.2} ...
ENDGAMEPROPHECY's user avatar
0 votes
0 answers
18 views

What happens if I call Animated.timing() after the component has been unmounted?

From what I could find out, when an animated component unmounts it will be end all the ongoing animations associated with them. What happens if inside the onFinish callbacks of this animations we ...
Srinivas Talnikar's user avatar
0 votes
1 answer
32 views

Two components with same animation values animating at different speeds

Using React Native I am trying to animate a header when the user scrolls up on a FlatList, however, my FlatList seems to be animating faster than my Header. Even though I am using the same values - ...
David Henry's user avatar
  • 2,740
1 vote
0 answers
56 views

Animating Header Using Transform React Native

Using React Native, I am trying to mimic the below animation. The header (Map Pin and Stamba Hotel Tbilisi) scrolls up with the FlatList, but then if the user scrolls down the header is immediately ...
David Henry's user avatar
  • 2,740
0 votes
2 answers
50 views

TouchOpacity onPress() method not working on child component

I don't have much experience working with React Native so bear with me I am trying to add an animation to one of my components, a search bar that should change its height when click on. I wrapped my &...
noor.soreti's user avatar
0 votes
0 answers
55 views

Listening for changes in interpolated values?

I am trying to create a custom Scroll Knob much like Google Photos to allow fast scrolling on a long list. Similar to How to use a Pan responder to scroll a scrollView (React) I got the first part ...
Archimedes Trajano's user avatar
0 votes
1 answer
794 views

Reanimated useSharedValue does not apply on re-render

I have a simple component below with width useSharedValue, but when the child component re-renders (because the parent gets re-rendered) the width is not equal to 100 (value from useSharedValue). Is ...
beo dan's user avatar
  • 31
0 votes
1 answer
614 views

Changing from old Animated to the newer reanimated giving me problems

I am trying to change some code that is using the old Animated within react native. The scenario is that I have a basic flatlist that has only 4 test items. When one is clicked it simply performs a ...
JulesUK's user avatar
  • 423
1 vote
0 answers
68 views

React native animated, absolute positioned view different position for different screen sizes

I am trying to animate a view into the screen. However, the view appears in a different position depending on how big the screen is. How can I set the final position of the view to be the same on all ...
Bomber's user avatar
  • 10.8k
0 votes
0 answers
60 views

react native distorted animated text

I am trying to animate a text container wit texts from top area of the screen (width 0, height 0) to bottom area of the screen. For some reason the texts are very distorted in the result of the ...
Florin Dobre's user avatar
  • 10.1k
2 votes
0 answers
648 views

Accordion animation error warning: Warning: Overriding previous layout animation with new one before the first began

I am trying to have animate the arrow moving from left to top but i keep getting this error const { colorScheme } = useColorScheme(); const [expanded, setExpanded] = useState(defaultExpand); const ...
sebas tian's user avatar

15 30 50 per page
1
2 3 4 5
25