久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

使用 webkit-overflow-scrolling 滾動時 iOS5 圖像消失:觸

iOS5 Images disappear when scrolling with webkit-overflow-scrolling: touch(使用 webkit-overflow-scrolling 滾動時 iOS5 圖像消失:觸摸)
本文介紹了使用 webkit-overflow-scrolling 滾動時 iOS5 圖像消失:觸摸的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

問題描述

限時送ChatGPT賬號..

我之前一直在使用 iScroll 插件,但想放棄它以適應原生行為.

I had previously been using iScroll plugin but wanted to drop it for the native behaviour.

最初的實現是使用

webkit-overflow-scrolling: auto;

但是我將其更新為 ...

however I updated this to ...

webkit-overflow-scrolling: touch

.. 啟用觸摸滾動上的運動/慣性.

.. to enable the motion/inertia on the touch scroll.

這個問題是導航中包含的列表項在滾動時完全消失,只有在勢頭停止后才會返回.

The issue with this is the list items contained within the navigation disappear completely when scrolling, and only return once the momentum has come to a rest.

這方面的一個例子可以是在這里看到

An example of this can be seen here

推薦答案

我之前也遇到過同樣的問題,如果你需要使用定位元素嘗試添加 -webkit-transform: translateZ(0); 到元素或容器.此屬性通常會強制瀏覽器使用硬件加速,并且借助額外的功能,您的圖像很可能不會消失.無論如何,它對我有用.

I have had the same problem in the past, if you need to use positioned elements try adding -webkit-transform: translateZ(0); to the elements or the container. This property often forces the browser to use hardware acceleration and with the extra power your images will most likely not disappear. It worked for me anyway.

這里還有更多有用的東西:http://www.html5rocks.com/en/tutorials/speed/html5/

More useful stuff here too: http://www.html5rocks.com/en/tutorials/speed/html5/

這篇關于使用 webkit-overflow-scrolling 滾動時 iOS5 圖像消失:觸摸的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

相關文檔推薦

Using Instruments to test an iOS app without having source code to the application(在沒有應用程序源代碼的情況下使用 Instruments 測試 iOS 應用程序)
KIF: How to auto-run/stress test an iOS app to find the cause of a rare UI bug?(KIF:如何自動運行/壓力測試 iOS 應用程序以找出罕見 UI 錯誤的原因?)
Can#39;t change target membership visibility in Xcode 4.5(無法更改 Xcode 4.5 中的目標成員身份可見性)
UITableView: Handle cell selection in a mixed cell table view static and dynamic cells(UITableView:在混合單元格表視圖靜態和動態單元格中處理單元格選擇)
How to remove Address Bar in Safari in iOS?(如何在 iOS 中刪除 Safari 中的地址欄?)
iOS 5 SDK is gone after upgrade to Xcode 4.5(升級到 Xcode 4.5 后,iOS 5 SDK 消失了)
主站蜘蛛池模板: 亚洲中午字幕 | 天天射色综合 | 国产日韩精品一区二区 | 91免费看片 | 欧美a级成人淫片免费看 | 国产精品毛片一区二区三区 | 国产精品美女 | 久久久网| 日韩av一区二区在线 | 女同av亚洲女人天堂 | 高清视频一区二区三区 | 手机av网| 国产精品99久久久久久宅男 | 午夜影院操 | 日韩视频在线一区 | 欧美日韩亚洲国产综合 | 精品欧美激情在线观看 | 99re6在线视频精品免费 | 久久69精品久久久久久久电影好 | www国产成人免费观看视频,深夜成人网 | 亚洲影音先锋 | 午夜日韩视频 | 伊人色综合久久天天五月婷 | 亚洲一区二区中文字幕 | av一区二区三区 | 成人一级视频在线观看 | 国产精品99久久久久久大便 | 欧洲成人 | 午夜激情国产 | 国产精品高潮呻吟久久av黑人 | 亚洲高清视频在线观看 | 成年男女免费视频网站 | 国产91视频一区二区 | 亚洲精品自拍视频 | 国产美女自拍视频 | 日本涩涩视频 | 中文字幕视频在线观看 | 日韩精品一区二区三区中文字幕 | 亚洲国产精品久久久久婷婷老年 | 亚洲成在线观看 | 欧美成人高清 |