Andr3wHur5t / react-native-keyboard-spacer

Plug and play react-native keyboard spacer view.
MIT License
1.56k stars 219 forks source link

Issue with scrollview when scrollview is at bottom of content. #39

Open trinode opened 8 years ago

trinode commented 8 years ago

using this type of layout:-

      <View style={{flex: 1}}>
        <MasterNav/> <--- that's a scrollview with login boxes
        <KeyboardSpacer/>
      </View>

When the keyboard is dismissed, if the scrollview is at the very bottom, the scrollview resizes, but doesn't scroll back - the bottom of it's content is where the top of the keyboard is, as soon as you drag it a little bit, it corrects itself.

I presume scrollview has a special case for being at the bottom maybe, if so can it be triggered to do a refresh? After dismissing:

image

image

hlynn93 commented 8 years ago

+1

Scroll all the way to the bottom and then dismiss the keyboard. The listview does not push the content back to the bottom.

screen shot 2016-11-08 at 5 32 03 pm