question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

there is a bug in line The thing is that as soon as a user tap in list of results, the blur execute and hide the list, but you dont catch the onPress event sooo never search for address… So comment this line make the plugin works in version 1.4.0.

//Error:
_onBlur = () => {
    this.triggerBlur();
    this.setState({ listViewDisplayed: false });
  }

//Fine:
_onBlur = () => {
    this.triggerBlur();
  }

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:8

github_iconTop GitHub Comments

1reaction
malikgeniuscommented, Dec 22, 2019

Remove onBlur from original package file … GooglePlacesAutocomplete.js

<TextInput ref=“textInput” editable={this.props.editable} returnKeyType={this.props.returnKeyType} keyboardAppearance={this.props.keyboardAppearance} autoFocus={this.props.autoFocus} style={[this.props.suppressDefaultStyles ? {} : defaultStyles.textInput, this.props.styles.textInput]} value={this.state.text} placeholder={this.props.placeholder} onSubmitEditing={this.props.onSubmitEditing} placeholderTextColor={this.props.placeholderTextColor} onFocus={onFocus ? () => {this._onFocus(); onFocus()} : this._onFocus} // onBlur={this._onBlur} underlineColorAndroid={this.props.underlineColorAndroid} clearButtonMode={ clearButtonMode ? clearButtonMode : “while-editing” } { …userProps } onChangeText={this._handleChangeText} />

0reactions
bell-stevencommented, May 17, 2020

It isn’t very clear to me what the issue is here. Please open a new issue (please follow the issue template) if you encounter this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Version 1.4.0 released - Nim Blog
Version 1.4.0 released. 16 October 2020 The Nim Team. We are very proud to announce Nim version 1.4 after six months of continuous...
Read more >
Spark 1.4.0 released
Spark 1.4.0 is the fifth release on the API-compatible 1.X line. It is Spark's largest release ever, with contributions from 210 developers and...
Read more >
Version 1.4.0 (Latest) — sagemaker 2.52.1 documentation
Version 1.4.0 (Latest)¶. To use the library, reference the Common API documentation alongside the framework specific API documentation.
Read more >
v.1.4.0 - GitHub
v.1.4.0. Product. Actions. Automate any workflow · Packages. Host and manage packages · Security. Find and fix vulnerabilities.
Read more >
Animal Crossing: New Horizons version 1.4.0 – Summer ...
The Summer Update (Wave 2) for Animal Crossing: New Horizons (version 1.4.0), known in Europe as the Free Summer Update Vol.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found