Git Product home page Git Product logo

Comments (9)

ryanlntn avatar ryanlntn commented on May 9, 2024 1

@jamonholmgren It doesn't show up for me with a newly ignited app. Closing this for now.

from ignite-andross.

jhblacklock avatar jhblacklock commented on May 9, 2024

I was able to mitigate this issue modifying StackNavigator with:

cardStyle: {
    opacity: 1,
    backgroundColor: '#3e243f'
  },
export default StackNavigator({
  PresentationScreen: {screen: PresentationScreen},
  APITestingScreen: {screen: APITestingScreen},
  ComponentExamplesScreen: {screen: ComponentExamplesScreen},
  PluginExamplesScreen: {screen: PluginExamplesScreen},
  ThemeScreen: {screen: ThemeScreen},
  FaqScreen: {screen: FaqScreen}
}, {
  cardStyle: {
    opacity: 1,
    backgroundColor: '#3e243f'
  },
  initialRouteName: 'PresentationScreen',
  headerMode: 'none',
  // Keeping this here for future when we can make
  navigationOptions: {
    header: {
      left: (
        <TouchableOpacity onPress={() => window.alert('pop')} ><Image source={Images.closeButton} style={{marginHorizontal: 10}} /></TouchableOpacity>
      ),
      style: {
        backgroundColor: '#3e243f'
      }
    }
  }
})

Happy to create a PR if needed.

from ignite-andross.

GantMan avatar GantMan commented on May 9, 2024

That's interesting. We might need that PR, let me see if I can get a local test with the same result.

from ignite-andross.

jhblacklock avatar jhblacklock commented on May 9, 2024

Got it queued up if needed.

There are two issues at play. The transition effect which animates opacity to 0. This transition might be desired.

The flash is caused by not setting the bg color. This only affects my expo builds. Might be due to latency.

from ignite-andross.

GantMan avatar GantMan commented on May 9, 2024

@ryanlntn are you seeing this same problem with your current app?

from ignite-andross.

GantMan avatar GantMan commented on May 9, 2024

how are you liking building expo with ignite btw @jhblacklock ? That's on our todo list.

from ignite-andross.

jhblacklock avatar jhblacklock commented on May 9, 2024

Great IMO. Although I haven't gotten far.

I just attached ignite to a create-react-native-app. Had to reconfigure the entry point, removed index.ios.js and index.android.js, added index.js to /App and copied App/Containers/App.js to /App/index.js then removed App/Containers/App.js. I also manually copied over the ignite folder and contents, and merged package.json.

I've only tested on ios but so far so good. Real smooth.

FYI, I guess this issue is really a https://github.com/infinitered/ignite DevScreens thing 😄 I modified that repo in a PR.

from ignite-andross.

ryanlntn avatar ryanlntn commented on May 9, 2024

@GantMan I've been mainly using TabNavigator so I didn't notice until today. The StackNavigator definitely exhibits this issue.

from ignite-andross.

jamonholmgren avatar jamonholmgren commented on May 9, 2024

@ryanlntn Is this still an issue?

from ignite-andross.

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.