Skip to content

Commit

Permalink
fix: scrollTo Func cant fire callback (#120)
Browse files Browse the repository at this point in the history
* fix: scrollTo cant fire callback

* feat: new version
  • Loading branch information
zhou-yg authored and doxiaodong committed May 30, 2019
1 parent b8df73f commit 8d65f40
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rmc-picker",
"version": "5.0.8",
"version": "5.0.9",
"description": "React Mobile Picker Component(web and react-native)",
"keywords": [
"react",
Expand Down
2 changes: 2 additions & 0 deletions src/Picker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ class Picker extends React.Component<IPickerProp & IPickerProps, any> {
setTransition(this.contentRef.style, '');
}
}, +time * 1000);
} else {
this.scrollingComplete();
}
};

Expand Down

0 comments on commit 8d65f40

Please sign in to comment.