Comments (7)
I think that's a decent solution. In the case that we add a default height, the user can always use the containerStyle to override the height if need be.
@binoy14 if you have it working on your end, go ahead a push a hot-fix to master?
from react-native-elements.
Don't think this is possible. If you figure it out, feel free to submit a pr, thanks for the input.
from react-native-elements.
@dabit3 Envountered exactly same issue. If I'm placing FromInput inside view with alignItems 'center', input is not rendered/visible. If I remove alignItems, it works fine.
Blank screen in this case:
<View style={{ alignItems: 'center' }}>
<FormInput />
</View>
And I see input in this case:
<View >
<FormInput />
</View>
@Cretezy Have you solved this?
from react-native-elements.
@vladra any ideas on what might be causing it/possible fixes?
from react-native-elements.
@Monte9 Just encountered this. It's not working on blank new react-native project
from react-native-elements.
Reopening this issue since that's the case @vladra.
from react-native-elements.
@vladra @Monte9 I was trying to fix this and i think the problem when doing alignItems of center or even flex-start or flex-end is that the component is present but it has a width of 0. If you set a containerStyle or inputStyle with a width of not 0 then it does show up. I think the solution is to set the default width to be the device width. Thoughts?
from react-native-elements.
Related Issues (20)
- Feature Request - Animated Shrink Button with Loading Indicator
- Avatar ignoring resize mode on initial load HOT 18
- ButtonGroup fails on iOS Expo Dev Client HOT 1
- Feature request - Circular progress component
- The documentation sidebar is not taking the correct height on mobile screens.
- The search glass is not available in Chrome browser
- Dialog.Title does not honor Dark mode text color HOT 3
- SpeedDial cant work in web platform,cuz ``` [...new Array(React.Children.count(children))]``` will returned ```[empty × 2]``` HOT 2
- NPM version missmatch for @rneui/themed's peerDeps/devDeps HOT 1
- Unable to import styled helper HOT 1
- ref prop is not working for Button component of New React native element lib (@rneui/base & @rneui/themed) HOT 2
- Upgrade Expo version for Expo demo HOT 1
- [Feature Request] For web renders, let `Icon` and `Chip` render as `<button>` only if it needs to be clickable HOT 1
- Latest @rneui/themed has incorrect peer and dev dependency HOT 2
- SearchBar has no Cancel button on iOS HOT 3
- TextProps are extended by ListItem.Content instead of ListItem.Title
- Show default image when source load fail HOT 1
- Cannot use Button as child of Link. HOT 2
- clearIcon in SearchBar component does not theme for dark mode (still appears light)
- Virtualized List error when adding a flatlist inside bottomsheet. HOT 1
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-elements.