almost / react-native-html-webview

Display HTML in a UIWebView, optionally sanitizing it first
MIT License
105 stars 20 forks source link

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

Open ninamanalo opened 9 years ago

ninamanalo commented 9 years ago

Any idea about this?

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

Thanks in advance.

midudev commented 9 years ago

Same problem for me...

midudev commented 9 years ago

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
  },
ninamanalo commented 9 years ago

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