I am developing an app for iPad in javascript. I have a div. The content in this div should be scrollable. I added scrolling for the div using this class:
.scrollable { -webkit-overflow-scrolling: touch; overflow-y: scroll !important; -webkit-transform: translate3d(0, 0, 0); }
This method works in 90% of cases, but sometimes I try to scroll through the contents and nothing happens. I wait about 3 seconds and try again - and the scrolling works. I do not have any javascript code that could lead to this behavior.
Why could this be?
, , , , .
, , ( ), -webkit-transform: translate3d(0,0,0);, , "" .
-webkit-transform: translate3d(0,0,0);
( jQuery $.get, .then() , CSS .)
$.get
.then()
, .
Source: https://habr.com/ru/post/1531307/More articles:Android bluetooth low energy (ble) writeCharacteristic callback callback - androidPure CSS conversion scale from current value - htmlRails Ruby hash array joined by a key to the middle value - arraysОтправка на стену друзей с помощью Android FB SDK. - androidProper use of facebook login - androidWCF authorized service with SSL authentication and username and password authentication - authenticationCounting rows of records using HAVING GROUP_CONCAT - sqlJQuery UI autocomplete - Unwanted due to special characters - jquerySetting a folder in phar does not work - phpModeling a modeling model: how to interpret the Kullab-Leibler divergence - javaAll Articles