Is it possible to use the browser's native scrolling behavior, in certain areas of a ST app?
Using native browser scrolling
For example, I have a div with "overflow-x: scroll", and overflowing contents. On a mobile device, you can scroll it, with or without Sencha Touch loaded.
But as soon as you call Ext.setup, it does something to prevent this. Is there any way to restore the native scrolling to that div?
(I don't think I can use Sencha's scrolling, because I want the div's contents to determine its height. See my other question about that.)
I'm using Android 4.4 with Chrome, and ST 2.3.1. Sample page:
Code:
<head>
[ Sencha Touch JS/CSS ]
<script type="text/javascript">
Ext.setup({});
</head>
<body>
<pre class="foo" style="overflow-x: scroll">
this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test
this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test
this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test
this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test
</pre>
Using native browser scrolling
Aucun commentaire:
Enregistrer un commentaire