i have a very strange problem and no solution for the following problem.<br><br>i have a form with an input and textareafield
Code:
xtype: 'formpanel',
flex: 1,
style: 'border-top: 2px solid #CCCCCC;',
method: 'POST',
id: 'replyform',
name: 'form',
scrollable : {
direction: 'vertical',
directionLock: true,
outOfBoundRestrictFactor: 0,
},
items: [
{
xtype: 'fieldset',
id: 'topic_reply_title',
style: 'margin-bottom: 0.5em;',
defaults: {
labelWidth: '35%',
},
items: [
{
xtype: 'textfield',
id: 'usernameField',
label: lang['username'],
name: 'name',
},
{
xtype: 'textfield',
id: 'titleField',
placeHolder: lang['title'],
name: 'titel',
},
{
xtype: 'fullscreentextarea',
maxRows: 5,
name: 'nachricht',
},
{
xtype: 'hiddenfield',
name: 'preview',
value: 0,
},
{
xtype: 'hiddenfield',
name: 'unique',
},
]
},
]
i disabled the android overlay box with the following css Code
Code:
textarea {
-webkit-user-modify: read-write-plaintext-only;
-webkit-tap-highlight-color: rgba(255,255,255,0);
}
this works fine on my desktop @chrome<br><br>but on my mobile android device (samsung galaxy s2 android 4.0.4) appeared strange problems after pressing the "enter key"
The soft keyboard (or virtual keyboard) disappear and the copy mode starts on random positions in this textarea
look at this screen ...
https://www.dropbox.com/s/l4401dyt5n...0-16-24-49.png
thats what happen if i press enter after "gj"
i use Sencha Touch 2.1.1 and phonegap 2.0