RCTAutoComplete icon indicating copy to clipboard operation
RCTAutoComplete copied to clipboard

Warnings if used with AlertIos.alert

Open enapupe opened this issue 9 years ago • 0 comments

I'm getting these two errors when running the default demo. They only fire when I bind blur,focus,select,etc to a function and fire AlertIOS.alert. Changing alert to console.log works just fine.. The difference from the demo is that I'm not using arrow function within the prop declaration:

  onSubmitEditing (e) {
    AlertIOS.alert('onSubmitEditing', e)
  }

and

onSubmitEditing={this.onSubmitEditing}

instead of

onSubmitEditing={(e) => AlertIOS.alert('onSubmitEditing')}

screen shot 2016-07-12 at 11 22 12 am screen shot 2016-07-12 at 11 22 25 am

enapupe avatar Jul 12 '16 14:07 enapupe