Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

ScollView fans out when textfield inside it is focused in

$
0
0

in my app i've two screens( two views..) and inside each one there is a scrollView with textfields nested on it.

For the first screen i could avoid the same problem as in this question to happen by setting a fixed height to the view in which lies the scrollView. (the problem was that the soft keyboard puchs up the view and compress it and also components inside it vertically).

Now in the second View i have the opposite problem, instead of the compression, the view and components inside it have their heights inscreasing and even i've tried the first solution as in the first screen i coudn't fix this problem and all the view fans out and do not get its orginal dimensions even after focusing out of the textfield and this could happens again by focusing again on the same textfield so the view is growing more and more..

Several other solutions like adding

windowSoftInputMode : Ti.UI.Android.SOFT_INPUT_ADJUST_PAN
to the main window of my app (in my case i've only one window in all my app and screens are managed just by views) i also coudn't find an equivalent to this property :
isScrollContainer="false"
which is the solution specific to android for this same problem

Viewing all articles
Browse latest Browse all 8068

Trending Articles



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