Skip to content

Webview not showing loading indicator when calling reload() #11013

Closed
@fschai89

Description

@fschai89

Description

Webview not showing loading indicator when calling reload() like below code, this only happen in android, IOS not problem.

this.refs[WEBVIEW_REF].reload();

Reproduction

`render() {
return (

  <View style={ { flex: 1 } }>
      <WebView
          ref={ WEBVIEW_REF }
          style={ { flex: 1, marginTop: 50 } }
          source={ { uri: this.props.url } }
          scalesPageToFit={ this.props.scalesPageToFit }
          startInLoadingState={ this.props.startInLoadingState } />
  </View>
  );

};`

Solution

Please fix the so when we call reload, it show the loading indicator

Additional Information

  • React Native version: 0.37.0
  • Platform: android
  • Operating System: MacOS

Metadata

Metadata

Assignees

No one assigned

    Labels

    Help Wanted :octocat:Issues ideal for external contributors.Resolution: LockedThis issue was locked by the bot.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions