JohnNashs / JohnNashs.github.io

我的博客
2 stars 0 forks source link

layDate组件闪退(在苹果电脑上表现为点击无效) #3

Open JohnNashs opened 3 years ago

JohnNashs commented 3 years ago

https://johnnashs.github.io/2020/11/12/LayDate/

layDate 日期与时间组件 问题描述layDate组件在计算组件出现的位置的时候,如果input元素距离网站底部的高度不够高的话,layDate组件会出现在input上方,出现在上方的时候由于动画transform: translate3d(0,20px,0),使得组件出现的时候,点击输入框会点到组件本身,Windows上的表现为闪退,在苹果电脑上表现为点击无效 12345678910<