Threaded View
-
14 Oct 2010 2:48 AM #1
[OPEN-432] input field in Ext.List leading to unexpected behaviour (Android)
[OPEN-432] input field in Ext.List leading to unexpected behaviour (Android)
Testing on HTC Desire, Android 2.2, Sencha Touch 0.96: if I use an input field in an Ext.List element, the keyboard popping up is moving the input field outside the visible area in the following example:
In some other (more complex) case it didn't move at all, leaving the input field hidden behind the keyboardCode:<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Squeezebox</title> <link rel="stylesheet" type="text/css" href="js/sencha-touch/resources/css/ext-touch.css" /> <script type="text/javascript" src="js/sencha-touch/ext-touch.js"> </script> <script type="text/javascript"> Ext.onReady(function() { Ext.regModel('Contact', { fields: ['firstName', 'lastName'] }); var store = new Ext.data.JsonStore({ model : 'Contact', sorters: 'lastName', getGroupString : function(record) { return record.get('lastName')[0]; }, data: [ {firstName: 'Tommy', lastName: 'Maintz'}, {firstName: 'Rob', lastName: 'Dougan'}, {firstName: 'Ed', lastName: 'Spencer'}, {firstName: 'Jamie', lastName: 'Avins'}, {firstName: 'Aaron', lastName: 'Conran'}, {firstName: 'Dave', lastName: 'Kaneda'}, {firstName: 'Michael', lastName: 'Mullany'}, {firstName: 'Abraham', lastName: 'Elias'}, {firstName: 'Jay', lastName: 'Robinson'}, {firstName: 'Tommy', lastName: 'Maintz'}, {firstName: 'Rob', lastName: 'Dougan'}, {firstName: 'Ed', lastName: 'Spencer'}, {firstName: 'Jamie', lastName: 'Avins'}, {firstName: 'Aaron', lastName: 'Conran'}, {firstName: 'Dave', lastName: 'Kaneda'}, {firstName: 'Michael', lastName: 'Mullany'}, {firstName: 'Abraham', lastName: 'Elias'}, {firstName: 'Search', lastName: '<input type="text" />'} ] }); var list = new Ext.List({ tpl: '<tpl for="."><div class="contact">{firstName} <strong>{lastName}</strong></div></tpl>', fullscreen : true, itemSelector: 'div.contact', singleSelect: true, store: store, hideOnMaskTap: false }); list.show(); }); </script> </head> <body> </body> </html>
Thank you for reporting this bug. We will make it our priority to review this report.
Similar Threads
-
Ext Grid with html input field does not accept ampersand and open parenthesis
By rubenbentein in forum Ext 2.x: Help & DiscussionReplies: 4Last Post: 26 Oct 2011, 3:53 AM -
[OPEN-432][3.??] Issue with Ext.data.DataReader realize method
By mlitcher in forum Ext 3.x: BugsReplies: 8Last Post: 20 Jun 2011, 6:59 AM -
[2.1][FIXED] Unexpected MessageBox behaviour
By rstuart in forum Ext 2.x: BugsReplies: 6Last Post: 9 May 2008, 11:29 AM -
[2.0/2.1] Comboboxes in sequence render list item select to wrong input field
By surfyogi in forum Ext 2.x: BugsReplies: 0Last Post: 23 Apr 2008, 3:51 PM


Reply With Quote