MPComponent / mpvue-picker

基于 mpvue 框架的小程序选择控件,支持单列,多列,联动。
MIT License
172 stars 77 forks source link

IOS12.2 苹果8出现bug? #28

Closed JKD128KKK closed 5 years ago

JKD128KKK commented 5 years ago

firstClick

slideDown

KuangPF commented 5 years ago

能否提供下mpvue-picker版本号以及调用的相关代码呢

JKD128KKK commented 5 years ago

`<div class="divPicker" style="margin-left:30rpx;display:flex;" @click="showPicker">

{{assigneeArray[assigneeIndex].label}}
            <i  class="iconfont icon-triangledownfill" ></i>

<mpvue-picker ref="mpvuePicker" :mode="mode" :pickerValueDefault="assigneeDefault" @onChange="onChange" @onConfirm="onConfirm" @onCancel="onCancel" :pickerValueArray="assigneeArray"> .divPicker{ width:170rpx; height:50rpx; line-height:40rpx; border:2rpx solid #FFA54F; color:#FFA54F; border-radius:10rpx; text-align:center; } `基本上就是贴的第一个demo 版本号"mpvue-picker": "^2.1.0","mpvue": "^2.0.0",

JKD128KKK commented 5 years ago

小程序工具打开是没有问题的 真机的时候就出问题了

JKD128KKK commented 5 years ago

而且安卓机是没有问题的

KuangPF commented 5 years ago

你用真机调试下呢,看下数据渲染出来没,我这边用 iphone8, ios 12.2 跑了一下仓库的 demo,没有出现类似的问题。

JKD128KKK commented 5 years ago

好吧 我也试了仓库的demo 没问题

JKD128KKK commented 5 years ago

原因是 我将mpvue-picker放在scroll-view里

KuangPF commented 5 years ago

找到原因就行。