iidear / blog

blog
0 stars 0 forks source link

bugs #3

Open iidear opened 5 years ago

iidear commented 5 years ago

客户端时间是不可靠的

iidear commented 5 years ago

android—微信浏览器,DOM 元素不支持 scrollTo, 使用 scrollTop/scrollLeft

iidear commented 4 years ago

获取scrollTop: document.documentElement.scrollTop || document.body.scrollTop || 0

iidear commented 4 years ago

iOS 12.4.1 WKWebview web 中的 position: fixed 元素生成了 WKCompositingView。 上下滑动页面时,fixed 元素所在的 WKCompositingView 出现黑色背景。

iidear commented 4 years ago

input accept xlsx

<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">
iidear commented 1 year ago

iOS 15.6.1 Safari 负数 margin 有问题