-
10 Jan 2012 9:13 AM #1
[ST2 PR3] + Phonegap - tabpanel not working
[ST2 PR3] + Phonegap - tabpanel not working
REQUIRED INFORMATION
Ext version tested:- ST2 PR3
- Phonegap v1.3 & iOS v4.3 - iPad and iPhone in XCode and iPhone 4.3.3
- <!DOCTYPE html>
- After compiliing the app does not work in the emulator or the iPhone 4.3. The application works if not packaged as a phonegap app.
- Just pack the as in the example: http://docs.sencha.com/touch/2-0/#!/api/Ext.tab.Panel
- cliking on the icon the other screen shoulkd be presented
- the icon is pressed although nothing happens
app.js
Code:Ext.require([ 'Ext.tab.Panel' ]); Ext.setup({ viewport: { autoMaximize: false }, onReady: function() { var app = new Ext.Application({ name: 'MyApp', autoCreateViewport: false, launch: function() { Ext.create('Ext.TabPanel', { fullscreen: true, tabBarPosition: 'bottom', defaults: { styleHtmlContent: true }, items: [ { title: 'Home', iconCls: 'home', html: 'Home Screen1' }, { title: 'Contact', iconCls: 'user', html: 'Contact Screen' } ] }); } }); } });
HELPFUL INFORMATION
Possible fix:- i have also tried: https://github.com/mgcrea/sencha-tou...4ccb3ca8fa1a94
- ________
- WinXP 7
-
10 Jan 2012 10:44 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 34,121
- Vote Rating
- 453
Does it work in iOS5? The reason I ask is it seems to be the same behavior on this bug:
http://www.sencha.com/forum/showthread.php?173266Mitchell 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.
-
12 Jan 2012 12:56 AM #3
Yes, seems to be the same behaviour.
Any thoughts?
Tks a lot,
Looks like we can't reproduce the issue or there's a problem in the test case provided.


Reply With Quote