CSS3 property webkit-overflow-scrolling:touch ERROR

前端 未结 8 1464
闹比i
闹比i 2020-11-28 01:35

iOS 5 released web designers a new property -webkit-overflow-scrolling:touch that uses the iOS devices hardware accelerator to provide native scrolling for a sc

8条回答
  •  孤街浪徒
    2020-11-28 02:12

    I have run into this bug as well. I fixed it by applying the following css to parent elements:

    -webkit-transform: translate3d(0, 0, 0);
    

    However, I have noticed that that slows down rendering and might select other input elements than wanted when a touched input element is scrolled into the center of the view (by Safari/iOS).

提交回复
热议问题