Hybrid View
-
6 Oct 2010 7:14 AM #1
[OPEN-402] Messagebox over floating modal Panel does not receive Tap-Event
[OPEN-402] Messagebox over floating modal Panel does not receive Tap-Event
Hello,
the testcase:
When you tap on the OK-button the window will be hidden instead of the messagebox.Code:Ext.setup({ icon: 'icon.png', glossOnIcon: false, tabletStartupScreen: 'tablet_startup.png', phoneStartupScreen: 'phone_startup.png', onReady: function() { var win = new Ext.Panel({ floating: true, modal: true, id: 'owin', centered: true, width: 260, height: 260, html: 'Tap for Messagebox' }); win.show(); win.el.on('tap', function(){ Ext.Msg.alert('Tap OK.') }); } });
Best regards
-
6 Oct 2010 9:51 AM #2
-
13 Nov 2010 4:17 AM #3
-
7 Feb 2011 5:53 AM #4
-
19 Aug 2011 5:48 AM #5
MessageBox displayed over Modal window show up behind Modal Window and invisible
MessageBox displayed over Modal window show up behind Modal Window and invisible
Sencha Touch version tested:
- 1.1.0
- only default ext-all.css
- iOS 3.x
- iOS 4
- Android 2.1
- Android 2.2
- Windows Desktop Chrome
- Windows Desktop Safari
- Message Box displayed over another Modal window doesn't display over the Modal window instead the message box goes behind that modal window.
Code:Ext.setup({ onReady: function () { var mainWin = new Ext.Panel({ layout: { type: 'vbox', pack: 'center' }, fullscreen: true, items: [ { xtype: 'button', text: 'Click me first', width: '30%', handler: function () { var win1 = new win(); win1.show(); } }, { xtype: 'button', text: 'Click me second', width: '30%', handler: function () { var win2 = new win(); win2.show(); } }, ] }); win = Ext.extend(Ext.Panel, { constructor: function (config) { var internalConfig = { floating: true, modal: true, centered: true, width: '50%', height: '50%', layout: { type: 'vbox', pack: 'center'}, items: [ { xtype: 'button', text: 'click me', handler: function () { Ext.Msg.alert('Tap OK to close me') } } ] }; config = Ext.apply(internalConfig, config); win.superclass.constructor.call(this, config); } }); mainWin.show(); } });
Steps to reproduce the problem:- Create a simple panel and show a modal window from that panel.
- Add a button to that modal window and display a message box when that button is clicked
- Now press the button to show the message box from the Modal Window. Check if the message box is displayed over the Modal window.
- If not close that message box, close the modal window. Repeat the same procedure by opening the Modal window and press the button to show Message Box. This time message box will be displayed behind the Modal window.
- Message Box should be always displayed over the Modal window
- Message box goes behind the Modal Window and the user was not able to see the message box.
- none
- not provided
Last edited by chandramuralis; 23 Aug 2011 at 6:54 AM. Reason: Added test case
-
22 Aug 2011 10:09 AM #6
could you supply a test case? test cases help us process these reports efficiently
-
22 Aug 2011 10:35 AM #7
I don't have any code that I could share here in public forum, but it is very easily reproducible if you follow the same steps mentioned in "Steps to Reproduce" section.
-
23 Aug 2011 12:57 AM #8
-
23 Aug 2011 6:56 AM #9
Success! Looks like we've fixed this one. According to our records the fix was applied for
TOUCH-497
in
2.0.


Reply With Quote