Skip to content

Commit

Permalink
Merge pull request leecade#4 from saas-plat/master
Browse files Browse the repository at this point in the history
* TypeError: Cannot assign to read only property 'onScroll' of object…
  • Loading branch information
FuYaoDe authored Jun 19, 2016
2 parents ae94eaa + 80b118b commit a6417ff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,7 @@ module.exports = React.createClass({
&& prop !== 'onMomentumScrollEnd'
&& prop !== 'renderPagination'
&& prop !== 'onScrollBeginDrag'
&& prop !== 'onScroll'
) {
let originResponder = props[prop]
props[prop] = (e) => originResponder(e, this.state, this)
Expand Down

0 comments on commit a6417ff

Please sign in to comment.