Skip to content

Conversation

thessler27
Copy link

@thessler27 thessler27 commented Jun 26, 2019

This allows for inverted lists to be supported by flipping the contentInset prop config from bottom to top if a prop of inverted is passed.

Fixes #321

@thessler27 thessler27 closed this Jul 21, 2019
@vidit-bhatia
Copy link

was this ever merged?


//support inverted views
const contentInset = this.props.inverted ?
{ bottom: this.state.keyboardSpace } :

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess this have to be vice-versa like below!

const contentInset = this.props.inverted ?
{ top: this.state.keyboardSpace } :
{ bottom: this.state.keyboardSpace }

@manjuy124
Copy link

manjuy124 commented Oct 14, 2020

@thessler27 any reason for closing this PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants