Closed morenoh149 closed 9 years ago
Hey there. I'm unclear as what this spacer does exactly. Here
<View style={[{backgroundColor: 'green', flex: 1}]}> <TextInput style={{backgroundColor: 'yellow', flex: 1}}/> <View style={{backgroundColor: 'red', left: 0, right: 0, height: 5}}/> <KeyboardSpacer/> </View>
I would understand if KeyboardSpacer were between the textinput and view then I would assume the view ends up at the bottom as the spacer grows to all the space available. But what actually renders in the example code?
KeyboardSpacer
The red view shows that the other views changed size, I will change the example to make this more clear.
Fixed in 076fa9c.
Hey there. I'm unclear as what this spacer does exactly. Here
I would understand if
KeyboardSpacer
were between the textinput and view then I would assume the view ends up at the bottom as the spacer grows to all the space available. But what actually renders in the example code?