-
1 Oct 2012 5:13 AM #1
Android keyboard is automatically closed after tapping on Ext.field.Text
Android keyboard is automatically closed after tapping on Ext.field.Text
REQUIRED INFORMATIONExt version tested:
- sencha-touch-2.0.1.1
- Chrome
- HTC one X running Android 4.0.3 with HTC sence 4.0
- Nexus 1 with Android 2.3.7
- ____
- Android keyboard is being opened, and then automatically closed after tapping on Ext.field.Text. It does not allow to insert the required text.... This only happens on the native app. Tapping the text field on the same device's browser works just fine.
- Attached below is the view that displays the form. Please add this to an application, and compile as Android native.
- Tapping on the text field should open the keyboard' and the user can start adding text to the text field
- The keyboard is being immediately closed, and the user cant insert any text.
HELPFUL INFORMATIONDebugging already done:Code:Ext.define('Surfspace.view.ReportPost', { extend: 'Ext.form.Panel', requires: ['Ext.form.FieldSet', 'Ext.field.Text', 'Ext.field.Slider', 'Ext.field.Select' ], xtype: 'reportPost', fullscreen: true, config: { title: 'ReportPost', iconCls: 'doc_send', scrollabe: true, styleHtmlContent:true, items: [ { xtype: 'fieldset', title: 'Surf Report', items: [ { xtype: 'textfield', name : 'firstName', label: 'First Name' } ] } ] } });- none
- not provided
- ________
- Win 7 Pro
-
1 Oct 2012 6:03 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,710
- Vote Rating
- 436
Have you tried in a later release like 2.1.0 b3?
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
1 Oct 2012 6:29 AM #3
No, I haven't.
How/Where can I download it? (I couldn't find on the website)
-
1 Oct 2012 6:37 AM #4Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,710
- Vote Rating
- 436
When you are in a forum looking at the list of threads, watch the top for announcements: http://www.sencha.com/forum/announcement.php?f=92&a=36
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
1 Oct 2012 11:49 AM #5
I just spent a few hours trying to compile my native app with the new beta version, which is really really buggy...
So, my short answer is no, I didn't run this on the new beta version.
-
29 Nov 2012 7:25 PM #6
Were you able to resolve this. I am having this issue with Sencha 2.1 native packaging on android. The iOs it works fine but none of my text fields work in the native android. I don't see any errors on my log and the focus event DOES fire but the keyboard won't stay open
-
30 Nov 2012 1:49 AM #7
Yes, I was able to solve this. In my case, it was caused by unnecessary classes in 'app.js' requires config array. This is what I did:
1. I commented out the array:
2. Run the project in the browser, you will now see that Ext.Loader synchronously loading the required classes:Code:/*requires: [ 'Ext.data.proxy.JsonP', 'Ext.tab.Panel', 'Ext.dataview.NestedList', 'Ext.TitleBar',..............]*/
Code:[WARN][Anonymous] [Ext.Loader] Synchronously loading 'Ext.data.proxy.JsonP'; consider adding 'Ext.data.proxy.JsonP' explicitly as a require of the corresponding class Console.js:35 [WARN][Anonymous] [Ext.Loader] Synchronously loading 'Ext.Toolbar'; consider adding 'Ext.Toolbar' explicitly as a require of the corresponding class Console.js:35 [WARN][Anonymous] [Ext.Loader] Synchronously loading 'Ext.form.FieldSet'; consider adding 'Ext.form.FieldSet' explicitly as a require of the corresponding class .........
2. Create a new empty 'requires' array, and started inserting each of these classes iteratively, one at a time, until those 'Synchronously loading' massages disappears. For example, on the first iteration I would have the 'requires' array with only a single class:
In my case, I found a few "non-required" classes that I included and caused this issue. There is no mechanism that alerts about it. Please let me now if that solved the issue for you.Code:requires: [ 'Ext.data.proxy.JsonP']
-
21 Feb 2013 3:22 PM #8
This is effectively a bug
This is effectively a bug
This is happening to me too. Im using 2.1.0 sdk, the latest one. This happens on a samsung galaxy 7.1 tablet running Android 3.2.
And my view is this:
Code:Ext.define('hos.view.AddNote', { extend: 'Ext.form.Panel', alias: 'widget.addNoteView', requires: [ 'Ext.Label' ], config: { id: 'addNoteView', layout: { type: 'vbox' } }, TAG: "AddNoteView: ", initialize: function (arguments) { this.callParent(arguments); var eventData = this.getData(), items = [ { xtype: 'label', cls: 'labelHeading', html: Strings.addNote.SUBTITLE },{ xtype: 'label', cls: 'labelDescription', html: eventData.getStatus() },{ xtype: 'label', cls: 'labelDescription', html: eventData.getTime().toDateString() + ", " + eventData.getTime().toHourMinutesString() },{ xtype: 'textareafield', name: 'note', value: eventData.getNote(), placeHolder: Strings.addNote.EMPTY_NOTE_CONTENT } ]; this.add(items); },
-
21 Feb 2013 10:10 PM #9
-
22 Feb 2013 6:34 AM #10Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,710
- Vote Rating
- 436
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
Wait! Looks like we don't have enough information to add this to bug database. Please follow this template bug format.


Reply With Quote