Skip to content

Commit

Permalink
fix(Picker): should reset moving when touch ended (#4283)
Browse files Browse the repository at this point in the history
  • Loading branch information
chenjiahan committed Aug 29, 2019
1 parent 009ad60 commit 81820b3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/picker/PickerColumn.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ export default createComponent({
}

const index = this.getIndexByOffset(this.offset);
this.moving = false;
this.duration = DEFAULT_DURATION;
this.setIndex(index, true);
},
Expand Down

0 comments on commit 81820b3

Please sign in to comment.