Git Product home page Git Product logo

Comments (5)

mcnamee avatar mcnamee commented on May 18, 2024

Hi, I'm on holidays away from my computer for the next few days, but will take a look when I return.

If you find a fix in the meantime, feel free to submit a pull request.

Matt

from react-native-starter-kit.

obromios avatar obromios commented on May 18, 2024

Does this answer on stackoverflow point in the right direction to solve this problem?

from react-native-starter-kit.

mcnamee avatar mcnamee commented on May 18, 2024

Hi @obromios
Sorry for the delay! I've just pushed an upgrade which resolves this. Basically, RN calculates the windowWidth on load and you have to manually ask it to recalculate for things like orientation change.
Instead of doing this, I simply rewrote the styles to use flexbox - which is the better way to do it anyway.

Thanks for raising the issue, to push me along

from react-native-starter-kit.

obromios avatar obromios commented on May 18, 2024

Thank you, I will try it in the next few days and let you know how it goes.

Flexbox fantastic, for the first time I am not dreading having to locate
any elements with CSS.

On Tue, May 24, 2016 at 7:18 PM, Matt Mcnamee [email protected]
wrote:

Hi @obromios https://github.com/obromios
Sorry for the delay! I've just pushed an upgrade which resolves this.
Basically, RN calculates the windowWidth on load and you have to manually
ask it to recalculate for things like orientation change.
Instead of doing this, I simply rewrote the styles to use flexbox - which
is the better way to do it anyway.

Thanks for raising the issue, to push me along


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
#9 (comment)

from react-native-starter-kit.

obromios avatar obromios commented on May 18, 2024

That worked thank you. Elegant solution ⭐

from react-native-starter-kit.

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.