有定位的含有 input的弹框,在有些手机光标乱跳

弹框定位不能使用 fixed ,需要改成absolute

.cus_dialog {
    height: 13.133333rem;
    width: 7.399999rem;
    position: absolute;
    top:6%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
}
原文地址:https://www.cnblogs.com/tangbuluo/p/7598356.html