You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using GooglePlacesAutocomplete component with textInputProps.onChangeText set. I think there is a conflict with the internal onChangeText={_handleChangeText} bind, this cause a flick on my app and doesn't work property
Reproduction
Steps to reproduce the behavior - a minimal reproducible code example, link to a snack or a repository.
Describe the bug
I'm using
GooglePlacesAutocomplete
component withtextInputProps.onChangeText
set. I think there is a conflict with the internalonChangeText={_handleChangeText}
bind, this cause a flick on my app and doesn't work propertyReproduction
Steps to reproduce the behavior - a minimal reproducible code example, link to a snack or a repository.
Additional context
Library Version: 0.2.3
React Native Version: 0.63.3
iOS
Android
Error
The problem is here:
https://github.com/FaridSafi/react-native-google-places-autocomplete/blob/master/GooglePlacesAutocomplete.js#L793
Possible fix 1
Destructure
onChange
prop fromprops.textInputProps
HERE
Possible fix 2
Invert order of
{...userProps} and
onChangeText={_handleChangeText}`HERE
Fixed
The text was updated successfully, but these errors were encountered: