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

Keyboard move scrollview slightly left

$
0
0

Hello,

I'm pretty new to titanium and am having a problem with the keyboard moving my scrollview left. I'm using Titanium 3.1 and am focusing on IOS and Android.

I have a scrollview that I have set the contentWidth and width values to 100%. I have also disabled the horizontal and vertical scroll bars.

Inside this scrollview I have a bunch of subviews including on other scrollview. In the subviews are textfields. When clicking ont eh textfield it slides my scrollview vertical as expected, however it also moves it slightly to the left.

I have been trying all I can think of but can't figure out why it moves to the left. Any help would be awesome.

This is a code snippet on how i'm creating the overall scrollview.

var self = Ti.UI.createScrollView({
        bottom:0,
        height: '100%',
        contentWidth: '100%',
        width: "100%",
        scrollType: 'vertical',
        showVerticalScrollIndicator: false,
        showHorizontalScrollIndicator: false
    });
Thanks!

Viewing all articles
Browse latest Browse all 352

Trending Articles



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