vitalets / react-native-extended-stylesheet

Extended StyleSheets for React Native
MIT License
2.93k stars 132 forks source link

flex: 1 does not work #93

Closed UdayKandpal closed 5 years ago

UdayKandpal commented 6 years ago

Properties like flex: 1 flexDirection: 'column' do not work with EStyleSheets.create() method. They do not render on the View container.

vitalets commented 6 years ago

Please create an expo sample reproducing the issue. Use this expo template.

UdayKandpal commented 5 years ago

Yes It is working. Initially it was not working with flex. reinstalling with proper configuration will help.

On Fri, Nov 2, 2018 at 3:10 PM MeganGilligan1 notifications@github.com wrote:

@UdayKandpal https://github.com/UdayKandpal Did you find a fix for this?

I've changed my Stylesheet.create to EStyleSheet.create and it just seems to break it - as if it's not working with Flex.

[image: image] https://user-images.githubusercontent.com/25102188/47907382-0b82be80-de83-11e8-8d3f-a196cc2d68f6.png

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/vitalets/react-native-extended-stylesheet/issues/93#issuecomment-435323649, or mute the thread https://github.com/notifications/unsubscribe-auth/Ao78qoDOGsk_5fA121TxHMPwzWESl3_6ks5urBMRgaJpZM4WW-TH .

-- Udaysagar Kandpal Software Engineer