height setting does not work
See original GitHub issueheight setting does not work
Swiper used default flex:1 ORZ…
Version
{
"name": "Cadaily",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"test": "jest"
},
"dependencies": {
"react": "16.2.0",
"react-native": "0.52.1",
"react-native-swiper": "^1.5.13",
"react-native-viewpager": "^0.2.13",
"react-navigation": "^1.0.0-beta.27"
},
"devDependencies": {
"babel-jest": "22.1.0",
"babel-preset-react-native": "4.0.0",
"jest": "22.1.4",
"react-test-renderer": "16.2.0"
},
"jest": {
"preset": "react-native"
}
}
guess
Maybe it doesn’t work in react-navigation TabNavigator
? I puted it into a tab
Issue Analytics
- State:
- Created 6 years ago
- Reactions:3
- Comments:7
Top Results From Across the Web
Css height in percent not working [duplicate] - Stack Overflow
You need to set a 100% height on all your parent elements, in this case your body and html. This fiddle shows it...
Read more >Why is height not working?. Parent does not stretch to child's…
Parent does not stretch to child's height. I want height to be 100% of the viewport. Why is element overflowing even though I've...
Read more >css - height % does not work - OutSystems
Height % is based on it's parent (so you have to set every element above the target element to 100%) , there are...
Read more >Setting Height And Width On Images Is Important Again
To prevent layout shifts and improve performance scores, we need to always set width and height attributes on our images.
Read more >Wrap text does not adjust row height in Excel - Microsoft Learn
Workaround. To adjust the height of the row to fit all the text in a cell, follow these steps: Select the row you...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I solved this by adding a container to Swiper and give the container a height.It works:)
yeah! view wrapper then setting height