Comments (5)
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.
Does this answer on stackoverflow point in the right direction to solve this problem?
from react-native-starter-kit.
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.
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.
That worked thank you. Elegant solution ⭐
from react-native-starter-kit.
Related Issues (20)
- i am not able to build apk. I am using expo cli. HOT 2
- Message
- Help with converting Firebase to standard HTTP library HOT 2
- expo SDK version is outdated HOT 5
- Need to update Expo demo to latest version HOT 7
- yarn install error HOT 3
- [Question - docs] Admin role HOT 1
- Any ideas how to get rid of warnings in dev env? HOT 1
- [Question - docs] I can't find docs about how to run linting HOT 1
- Errors on yarn install HOT 1
- App crashes in Windows 10 HOT 2
- [Q] Any kinf of configuration available? HOT 3
- Can't get .env variables working HOT 5
- Can't start web project HOT 1
- How to change project name and package? HOT 1
- Suggestion: Migration from react-native-router-flux to react-navigation HOT 1
- Suggestion: upgrade to RN 0.64 HOT 2
- r.split is not a function. HOT 2
- Could not find org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.3.31
- async-storage dependency deprecated
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-starter-kit.