React-native-keyboard-aware-scroll-view: setState/rerender causes scrollview to break

Created on 21 Nov 2017  路  2Comments  路  Source: APSL/react-native-keyboard-aware-scroll-view

I have a KeyboardAwareScrollView with controlled TextInput fields. Each TextInput has an onChange method that sets the state with .setState()

Whenever I type text and try to scroll with my finger, the ScrollView seems to reset, disabling scrolling, putting my content behind the keyboard (like a regular view).

More people with this issue?

Most helpful comment

The same issues which appears in case I re-render some views by changing state.

UPD: Rollback to 0.3.0 did the trick.

All 2 comments

The same issues which appears in case I re-render some views by changing state.

UPD: Rollback to 0.3.0 did the trick.

Can you test the new release? https://github.com/APSL/react-native-keyboard-aware-scroll-view/releases/tag/v0.4.2

Ping me if this issue still persists and I'll reopen.

Thanks.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

snksergio picture snksergio  路  3Comments

diegorodriguesvieira picture diegorodriguesvieira  路  4Comments

KevRyan2 picture KevRyan2  路  4Comments

json469 picture json469  路  3Comments

MyGuySi picture MyGuySi  路  3Comments