Open iidear opened 5 years ago
android—微信浏览器,DOM 元素不支持 scrollTo, 使用 scrollTop/scrollLeft
获取scrollTop: document.documentElement.scrollTop || document.body.scrollTop || 0
iOS 12.4.1 WKWebview web 中的 position: fixed 元素生成了 WKCompositingView。 上下滑动页面时,fixed 元素所在的 WKCompositingView 出现黑色背景。
<input accept="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel">
可能无法识别使用 wps 编辑保存的 excel。wps 有自己的 mime-type。
解决办法:
<input accept="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel,.xls,.xlsx">
iOS 15.6.1 Safari 负数 margin 有问题
客户端时间是不可靠的