Comments (9)
hello friend, I have the same problem with my lottie, it doesn't work for version 18.0.0 of react. Does anyone know if there is an update that fixes this?
from lottie-react.
Hey everyone, please try out version v3.4.5
https://www.npmjs.com/package/@lottiefiles/react-lottie-player/v/3.4.5
from lottie-react.
Hi @sosamuel I can't reproduce this error locally or on code sand box. Could you possible share your package.json file ?
https://codesandbox.io/s/flamboyant-shamir-wzjqpq?file=/package.json
from lottie-react.
I may have found similar issue... I have in dependencies react@^17.0.2
and @lottiefiles/react-lottie-player@"^3.4.2
but npm install --no-lockfile
crashes with
npm ERR! While resolving: [email protected]
npm ERR! Found: @lottiefiles/[email protected]
npm ERR! node_modules/@lottiefiles/react-lottie-player
npm ERR! @lottiefiles/react-lottie-player@"^3.4.2" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! @lottiefiles/react-lottie-player@"^3.4.2" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: [email protected]
npm ERR! node_modules/react
npm ERR! peer react@"^17.0.2" from @lottiefiles/[email protected]
npm ERR! node_modules/@lottiefiles/react-lottie-player
npm ERR! @lottiefiles/react-lottie-player@"^3.4.2" from the root project
npm ERR!
I'm not sure whose issue it is, npm or yours.
from lottie-react.
animation loads and display twice in react 18
from lottie-react.
@ANIRUDHADITHYA I can't reproduce this issue
https://codesandbox.io/s/react-18-lottie-player-uegtql
from lottie-react.
@samuelOsborne I have made changes there, kindly check https://codesandbox.io/s/react-18-lottie-player-uegtql
in style using "width=100%" makes the component double
from lottie-react.
@ANIRUDHADITHYA You need to send my the link to your forked codesandbox.
I put width 100% on mine and couldn't reproduce:
https://codesandbox.io/s/react-18-lottie-player-uegtql?file=/src/App.js
from lottie-react.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs.
from lottie-react.
Related Issues (20)
- setSeeker frame: number | string, or just number? HOT 2
- Lottie in Next.js 13 TypeError: Class extends value undefined is not a constructor or null HOT 3
- Dynamic animation data HOT 1
- `dotLottie` file support HOT 3
- Pause the animation on the final frame HOT 2
- Some lottie animations do not work on version 3.5.0 and above HOT 4
- CPU usage is verrrrrry high HOT 11
- Audio support HOT 1
- onEvent never fires HOT 1
- Segment Play on Scroll: Can't Force Play
- How do you play TGS with this? HOT 1
- Blincking problem on zoom in and out on trackpad HOT 1
- Lottie-React broke the project HOT 1
- Canvas renderer visual bug HOT 3
- There are issues with using React umi HOT 1
- Kjh
- ReferenceError: document is not defined at createTag (node >18) HOT 5
- Lottie animation using @lottiefiles/react-lottie-player(v. 3.5.3) doesn't appear on iOS and iPadOS HOT 4
- Deprecated Module Warning HOT 1
- Animation doen not play on production HOT 1
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 lottie-react.