Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #1
    Ext JS Premium Member
    Join Date
    Apr 2010
    Location
    Omaha, NE
    Posts
    557
    Vote Rating
    25
    estesbubba will become famous soon enough estesbubba will become famous soon enough

      0  

    Default [B1] Msg and NavigationView mask problem

    [B1] Msg and NavigationView mask problem


    This is probably related to this bug but thought I would start a new thread in case it isn't:

    http://www.sencha.com/forum/showthre...w-mask-problem

    This needs to be ran on a server because the override doesn't work with the files in the /builds folder.

    Code:
    <!doctype html>
    <html>
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
            <title>NavigationView</title>
            <link rel="stylesheet" href="../../resources/css/sencha-touch.css" type="text/css"></link>
            <script type="text/javascript" src="../../sencha-touch-debug.js"></script>
    
    
    
    
            <script type="text/javascript">
    
    
                // This is a temp fix for MessageBox in ST 1.0 B1
                Ext.define('Ext.overrides.MessageBox', {
                    overrides: 'Ext.MessageBox',
    
    
    
    
                    onClick: function(button) {
                        this.hide();
    
    
                        if (button) {
                            var config = button.config.userConfig || {},
                                initialConfig = button.getInitialConfig(),
                                prompt = this.getPrompt();
    
    
                            if (typeof config.fn == 'function') {
    
    
                                config.fn.call(
                                    config.scope || null,
                                    initialConfig.itemId || initialConfig.text,
                                    prompt ? prompt.getValue() : null,
                                    config
                                );
                            }
    
    
                            if (config.cls) {
                                    this.el.removeCls(config.cls);
                                }
    
    
                            if (config.input) {
                                config.input.dom.blur();
                            }
                        }
                    }
                });
    
    
                Ext.application({
                    name: 'MyApp',
    
    
                    launch: function() {
                        var view = Ext.create('Ext.NavigationView', {
                            fullscreen: true,
    
    
                            items: [{
                                xtype: 'container',
                                title: 'First',
                                html: 'View 1'
                            }]
                        });
                        var navbar = view.getNavigationBar();
                        navbar.add({
                            xtype: 'button',
                            text: 'Click Me First',
                            handler: this.onNavTap,
                            scope: this
                        });
                        Ext.Viewport.setActiveItem(view);
    
    
                        this.view = view;
                    },
    
    
                    onNavTap: function(btn) {
                        Ext.Msg.alert('Hi', 'What up?', this.onMsgTap, this);
                    },
    
    
                    onMsgTap: function(btn) {
                        this.view.push({
                            xtype: 'container',
                            title: 'Second',
                            html: 'View 2 is masked'
                        });
                    }
                });
            </script>
        </head>
        <body></body>
    </html>

  2. #2
    Sencha User Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    20
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough

      0  

    Default


    Thank you for the report, we are aware of this issue and it will be fixed for beta 3.

    Sencha Inc

    Jamie Avins

    @jamieavins

  3. #3
    Touch Premium Member
    Join Date
    Aug 2011
    Posts
    93
    Vote Rating
    1
    Di Peng is on a distinguished road

      0  

    Default


    Why Beta 3? Is Beta 2 already out yet?

  4. #4
    Sencha User Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    20
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough

      0  

    Sencha Inc

    Jamie Avins

    @jamieavins

Thread Participants: 2