Giter VIP home page Giter VIP logo

Comments (22)

Jonovono avatar Jonovono commented on May 21, 2024 3

@chrfalch any solution to this? Am also navigating to a fluidNavigator from a stack and getting a white flash.

from fluidtransitions.

jskidd3 avatar jskidd3 commented on May 21, 2024 2

I've only be able to test on iOS so far. This is a gif taken from the simulator:

Simulator

from fluidtransitions.

jskidd3 avatar jskidd3 commented on May 21, 2024 1

Ok, well unfortunately that's still too long for our app. Thanks for your help anyway. If performance ever improves do let me know and we'll revisit the library.

from fluidtransitions.

chrfalch avatar chrfalch commented on May 21, 2024

Could it be that you are doing some work in componentWillMount that causes the delay?

from fluidtransitions.

jskidd3 avatar jskidd3 commented on May 21, 2024

@chrfalch If you check the Snack you'll see it's mostly the same code from Examples/src/FlatList.js, I've just changed it so that it's embedded in a StackNavigator and the FluidNavigator is that one that is navigated to.

from fluidtransitions.

chrfalch avatar chrfalch commented on May 21, 2024

And thats exactly the same we're doing in the example as well. Would it be possible to use the style parameter for the fluid navigator? You can see how this is done in the ShoeShop example:

const Navigator = FluidNavigator({
  screen1: { screen: Screen1 },
  screen2: { screen: Screen2 },
}, {
  style: { backgroundColor: '#C14534' },
  navigationOptions: {
    gesturesEnabled: true,
  },
});

from fluidtransitions.

jskidd3 avatar jskidd3 commented on May 21, 2024

Not sure I'm following you exactly but I've just tried setting the background on the Snack and it doesn't seem to change anything. I've found a related closed issue which describes the same issue: #7

from fluidtransitions.

chrfalch avatar chrfalch commented on May 21, 2024

I'm not sure if the issue I'm seeing is a real issue ;-) Even the example app has a slight delay after clicking on the example buttons?

from fluidtransitions.

jskidd3 avatar jskidd3 commented on May 21, 2024

The library works fantastically well in terms of the the actual transitions etc, but a two second delay before the FluidNavigator loads won't be acceptable in our app at the moment. It looks like something has gone wrong with the app. If it was just a flicker/0.5 seconds it might be acceptable but it's a noticeable pause.

from fluidtransitions.

chrfalch avatar chrfalch commented on May 21, 2024

Ok, in the Snack provided I get around 0,5 secs, is this on Android or iOS?

from fluidtransitions.

chrfalch avatar chrfalch commented on May 21, 2024

It looks like it takes approx 0.5 secs? Same as I experienced running the Snack.

from fluidtransitions.

chrfalch avatar chrfalch commented on May 21, 2024

If I change FluidNavigator to StackNavigator I see that the speed is much better. I'll take a look and see, always happy to try to optimize the library!

from fluidtransitions.

chrfalch avatar chrfalch commented on May 21, 2024

(See last comment)

from fluidtransitions.

jskidd3 avatar jskidd3 commented on May 21, 2024

Thanks - it's truly a great library, am keen to use it if you manage to optimise this.

from fluidtransitions.

balthazar avatar balthazar commented on May 21, 2024

Although it seems the code execution seems to call _interactionDonePromiseDone properly, the TransitionOverlayView keeps staying for 500ms before showing the screen.

from fluidtransitions.

roytan883 avatar roytan883 commented on May 21, 2024

Same issue here, no matter how i optimize my code. Any click wait about 0.5s animation start. The animation looks good, but why must wait 0.5s ???

from fluidtransitions.

chrfalch avatar chrfalch commented on May 21, 2024

In the example it looks like this is solved for the latest releases, could you check and see? @roytan883, @jskidd3, @Jonovono

from fluidtransitions.

superqianqian avatar superqianqian commented on May 21, 2024

in the version 0.2.74 ,I don't think this problem has been solved

from fluidtransitions.

superqianqian avatar superqianqian commented on May 21, 2024

in ImageListScreen.js ,I set image max size is 100 , click will wait about 1.5s animation start,but set image max size is 3 ,click is normal

from fluidtransitions.

iwikal avatar iwikal commented on May 21, 2024

Could be related to the fact that when you use react-navigation, screens don't unmount when you navigate away from them, but stay mounted somehow in the background until you return to them. It doesn't seem like fluid-transitions does that optimization.

from fluidtransitions.

neyosoft avatar neyosoft commented on May 21, 2024

Is there any update about the performance of the waiting time before the transition starts? This library is very helpful with very interesting transitions that we can implement in our production app.

from fluidtransitions.

saurabh874 avatar saurabh874 commented on May 21, 2024

@jskidd3 did you find any solution for this?
i am also facing same issue when navigating to a FluidNavigator from another screen embedded inside a StackNavigator

from fluidtransitions.

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.