Giter Site home page Giter Site logo

Comments (10)

brentvatne avatar brentvatne commented on May 8, 2024 1

I published 0.2.1, let me know if that fixes your issue!

from react-native-action-sheet.

steinnes avatar steinnes commented on May 8, 2024

I had this issue as well. I was a little confused when debugging because the way to avoid the issue is to avoid passing useNativeDriver: true in Animated properties, however the source here on GitHub does not do so, ever.

That's when I noticed the version I had installed from npm was 0.2.0, and reviewing the code in my node_modules folder I noticed useNativeDriver: true was being used in that version.

I "fixed" this in our project by pinning us to version 0.1.3, the latest release here on GitHub, but I am curious why 0.2.0 isn't here. Was it released to npmjs.org by accident?

from react-native-action-sheet.

BigPun86 avatar BigPun86 commented on May 8, 2024

+1

from react-native-action-sheet.

rturk avatar rturk commented on May 8, 2024

Same issue here. @steinnes tks. I've also fixed by manually removing useNativeDriver: true in node_modules.

from react-native-action-sheet.

rturk avatar rturk commented on May 8, 2024

Hi @ide can you publish a new minor version and a new npm package?

from react-native-action-sheet.

steinnes avatar steinnes commented on May 8, 2024

@brentvatne just tested 0.2.1 in our project, works fine!

from react-native-action-sheet.

kfiroo avatar kfiroo commented on May 8, 2024

@brentvatne I think checking for NativeModules.NativeAnimatedModule is not enough because we are using transform which it not supported in all RN versions.

I'm getting the following error:
image

Any suggestions?

Edit
Actually it looks like it was added in this commit from Aug 7, 2016
facebook/react-native@df05311
Looks like it will only be released with RN v0.33.0

from react-native-action-sheet.

joncursi avatar joncursi commented on May 8, 2024

same issue as @kfiroo above

from react-native-action-sheet.

kfiroo avatar kfiroo commented on May 8, 2024

@joncursi opened a new issue for this #15

from react-native-action-sheet.

lylynguyen avatar lylynguyen commented on May 8, 2024

I'm working with an older version of RN (0.35.0) and ran into the same issue as @joncursi above but on iOS. I fixed it by commenting our line 58 in NavigationAnimatedView.js which lives here /node_modules/react-native-experimental-navigation/NavigationAnimatedView.js.

function applyDefaultAnimation(
position: NavigationAnimatedValue,
navigationState: NavigationParentState,
): void {
Animated.spring(
position,
{
bounciness: 0,
toValue: navigationState.index,
// useNativeDriver: true,
}
).start();
}

from react-native-action-sheet.

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.