react-native-html-webview icon indicating copy to clipboard operation
react-native-html-webview copied to clipboard

`unknown` has no propType for native prop `AIBHTMLWebView.disableScroll` of native type `BOOL`\n stack

Open ninamanalo opened this issue 10 years ago • 3 comments

Any idea about this?

screen shot 2015-09-21 at 12 48 22 pm

Thanks in advance.

ninamanalo avatar Sep 21 '15 04:09 ninamanalo

Same problem for me...

midudev avatar Sep 22 '15 16:09 midudev

I've figured out the problem.

Open the index.ios.js file at node_modules/react-native-html-webivew.

Where:

propTypes: {
    html: PropTypes.string,
    autoHeight: PropTypes.bool,
},

Add the disableScroll propType:

propTypes: {
      html: PropTypes.string,
      autoHeight: PropTypes.bool,
      disableScroll: PropTypes.bool
  },

midudev avatar Sep 22 '15 16:09 midudev

Thanks, it worked. I hope they update it soon.

ninamanalo avatar Sep 23 '15 01:09 ninamanalo