Questions tagged [moti]
8 questions
3
votes
1 answer
Moti avoid speeding up and down for loop
Trying to make a spinner with Moti but having some issue with the speeding down (just want it to spin for ever (I do like that it starts out slow, but not needed).
import { Feather } from '@expo/vector-icons'
import { MotiText } from 'moti'
import…

Norfeldt
- 8,272
- 23
- 96
- 152
1
vote
0 answers
How to start/stop React Native Moti animation on state change? My way seems to break the animation for some reason
I am trying the following Moti animation which works fine until I add the playbackState === State.Playing. Once I add it, it only loops once and then gets stuck/stops repeating. I'm wondering if anyone has any clue why this might be…

Onyx
- 5,186
- 8
- 39
- 86
0
votes
1 answer
React native - Issue on Android
The issue started when I installed Moti, reanimated and gesture-handler. The problem only happens on my Android emulator. When I run the app on my iPhone, I don't have any issues. I don't get any errors in the console, just the emulator. Below is…

Tony Chronic
- 1
- 1
0
votes
1 answer
Can I somehow animate the scroll movement of FlatList in React Native?
I'm trying to implement carousel using React Native Animated.FlatList, which should scroll automatically. But the problem is that, I cannot control the animation speed of scroll. When .scrollToIndex is called, FlatList items always move with one and…

Arkadi
- 1,153
- 1
- 14
- 35
0
votes
1 answer
Moti animations not displayed on react native application
I am new to react native and was trying to play with Moti animations, I am not sure why the animations are not getting loaded, the code is :
import { MotiView, MotiText } from "moti"
import React, { useState, useEffect } from "react";
import { View…

jkkCoder
- 17
- 3
0
votes
1 answer
Getting error trying to use Moti on React Native (Expo)
Render Error |
null is not an object (evaluating 'dispatcher.useContext)
Console Warning | Invalid Hook call
I followed all the instructions do Install Moti.
Install Moti
Install Reanimated v2
import 'react-native-reanimated' on App.js
add plugins:…

Daniel D
- 1
- 1
0
votes
0 answers
I am getting this issue while using moti library with react native
I installed reanimated and moti library both and added reanimated plugin in babe-config-js file still getting this issue
0
votes
1 answer
React-Native: How to convert an animation from reanimated 2 to moti library?
I am using react-native-reanimated in my react-native app. But I would like to transition my animations to moti.
I have a text I am animating based on the scroll position of my flatlist. By using the useAnimatedStyle hook, I can interpolate the…

TheSoul
- 4,906
- 13
- 44
- 74