Skip to content

Commit

Permalink
fix onChange to dom
Browse files Browse the repository at this point in the history
  • Loading branch information
jljsj33 committed Apr 11, 2018
1 parent 0f731c7 commit 611c36b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "rc-scroll-anim",
"version": "2.4.0",
"version": "2.4.1",
"description": "scroll-anim anim component for react",
"keywords": [
"react",
Expand Down
1 change: 1 addition & 0 deletions src/ScrollElement.jsx
Expand Up @@ -96,6 +96,7 @@ class ScrollElement extends React.Component {
'location',
'targetId',
'onScroll',
'onChange',
'replay',
].forEach(key => delete props[key]);
return React.createElement(this.props.component, { ...props });
Expand Down
1 change: 1 addition & 0 deletions src/ScrollOverPack.jsx
Expand Up @@ -71,6 +71,7 @@ class ScrollOverPack extends ScrollElement {
'location',
'targetId',
'onScroll',
'onChange',
].forEach(key => delete placeholderProps[key]);
let childToRender;
if (!this.oneEnter) {
Expand Down

0 comments on commit 611c36b

Please sign in to comment.