Quantcast
Channel: Appcelerator Developer Center Q&A Tag Feed (webview)
Viewing all articles
Browse latest Browse all 680

Web View Not Scrolling

$
0
0

Hi, I am trying to put a webview inside a normal View in my app, but it's resulting with a non scrollable Webview..

I can't scroll vertically neither horizontally..

<Alloy>
    <View id="mainView">
        <View id="mainTopBar">
            <View id="menuButton"></View>
            <Label class="lblTitle">Hamra</Label>
        </View>
        <View width="100%" height="auto" backgroundColor="#ff0000">
            <WebView id="dtweb"></WebView>
        </View>
    </View>
</Alloy>
and here's the TSS:
"#mainView":{
    layout: 'vertical',
},
"#mainViewBus": {
    layout: 'vertical'
},
"#mainTopBar": {
    height: "60dp"
},
".lblTitle": {
    color: "#ffffff",
    font: {
      fontFamily: 'TitilliumWeb-Bold',
      fontSize: 22
    }
},
"#dtweb": {
    height: "100%",
    url: "/maps/hamra.html",
    touchEnabled: true,
}

I am using Titatnium SDK: 3.5.1GA on iPhone, also i have to mention that i am using a widget to get a slide menu..

You help is appreciated


Viewing all articles
Browse latest Browse all 680

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>