fix(laydate): 优化时间选择器在Safari on iOS, Firefox for Android 中的滑动操作 (#1550)
This commit is contained in:
parent
232a959855
commit
db1f288299
@ -1539,9 +1539,10 @@
|
||||
});
|
||||
});
|
||||
|
||||
if(lay.touchEventsSupported()){
|
||||
olElem.on('touchstart', function(){
|
||||
this.style['overflow-y'] = 'auto';
|
||||
if(layui.device().mobile){
|
||||
olElem.css({
|
||||
overflowY: 'auto',
|
||||
touchAction: 'pan-y'
|
||||
})
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user