Git Product home page Git Product logo

Comments (9)

github-actions avatar github-actions commented on July 19, 2024

Hey! 👋

The issue doesn't seem to contain a minimal reproduction.

Could you provide a snack or a link to a GitHub repository under your username that reproduces the problem?

from react-native-reanimated.

szydlovsky avatar szydlovsky commented on July 19, 2024

Dzień dobry @mrousavy , layout animations for fabric are still under review: #6055

from react-native-reanimated.

szydlovsky avatar szydlovsky commented on July 19, 2024

So you can either switch to Paper for the time being, or await next stable release 👍

from react-native-reanimated.

mrousavy avatar mrousavy commented on July 19, 2024

Ah gotcha, I wasn't sure if it was related to Layout Animations or not - thanks for the quick reply! :)

from react-native-reanimated.

bartlomiejbloniarz avatar bartlomiejbloniarz commented on July 19, 2024

Dzień dobry @mrousavy, I am a bit confused about this issue since layout animations should be a noop on the new architecture. From your description it seems that some of them were running?

from react-native-reanimated.

mrousavy avatar mrousavy commented on July 19, 2024

Yea I do have layout animations, but they are all noop (in my app they just jump to the target value immediately).

from react-native-reanimated.

bartlomiejbloniarz avatar bartlomiejbloniarz commented on July 19, 2024

Can you check if removing those layout animations fixes these issues?
I've been working on layout animations on a separate branch and I'm not sure how layout animations could be causing these problems

from react-native-reanimated.

bartlomiejbloniarz avatar bartlomiejbloniarz commented on July 19, 2024

The issue was caused by reanimated accessing the UI runtime from two threads at the same time. Usually this doesn't happen, because we use WithRuntimeDecorator to wrap our runtime calls with a mutex. Unfortunately, methods related to NativeState were not included in this decorator, allowing for concurrent runtime access. I opened a PR to RN, which should resolve this issue.

from react-native-reanimated.

mrousavy avatar mrousavy commented on July 19, 2024

nice investigation!

from react-native-reanimated.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.