Flex bug #99

Merged
jaredly merged 3 commits from flex-fix into master 2015-08-10 08:45:08 -07:00
jaredly commented 2015-08-06 09:37:10 -07:00 (Migrated from github.com)

Here's a bug in the flexbox calculation

  <View>
    <View>
      <Text style={{backgroundColor: 'red'}}>Awesome</Text>
    </View>
    <View style={{width: 400, height: 20}}/>
  </View>

image

I added a failing test, but I don't immediately know where I would go to fix it.

Here's a bug in the flexbox calculation ``` js <View> <View> <Text style={{backgroundColor: 'red'}}>Awesome</Text> </View> <View style={{width: 400, height: 20}}/> </View> ``` ![image](https://cloud.githubusercontent.com/assets/112170/9117266/eb416f50-3c1d-11e5-934c-3361c18ffb7c.png) I added a failing test, but I don't immediately know where I would go to fix it.
jaredly commented 2015-08-06 12:36:04 -07:00 (Migrated from github.com)

Ok. @vjeux do you know where I should look to fix it?

Ok. @vjeux do you know where I should look to fix it?
vjeux commented 2015-08-10 08:45:49 -07:00 (Migrated from github.com)

The way I usually debug is to just run that test and put console.log everywhere in the big function and try hacking around. When I have a fix, I run the other tests and try to make them work as well

The way I usually debug is to just run that test and put console.log everywhere in the big function and try hacking around. When I have a fix, I run the other tests and try to make them work as well
Sign in to join this conversation.
No description provided.