mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 02:31:21 +00:00
[improvement] Picker: stop momentum before emit confim event (#3411)
This commit is contained in:
@@ -131,6 +131,7 @@ export default sfc({
|
||||
},
|
||||
|
||||
onConfirm() {
|
||||
this.children.map(child => child.stopMomentum());
|
||||
this.emit('confirm');
|
||||
},
|
||||
|
||||
|
Reference in New Issue
Block a user