Success! Looks like we've fixed this one. According to our records the fix was applied for TOUCH-3109 in a recent build.
  1. #1
    Sencha Premium Member
    Join Date
    Jan 2009
    Posts
    25
    Vote Rating
    0
    wirtsi is on a distinguished road

      0  

    Default LoadMask listeners are not passed to Viewport.setMasked() (2.0.1)

    LoadMask listeners are not passed to Viewport.setMasked() (2.0.1)


    Hi

    I'm trying to listen for a tap event on a LoadMask container ... but the event doesn't fire, only for a Mask container

    So this doesn't work
    Code:
           Ext.Viewport.setMasked({
                message:"Lederhosen",
            xtype: 'loadmask',
                listeners: {
                    tap: function() {
                        console.debug("try 1")
                    }
                }
            });
    While this one here works ok

    Code:
           Ext.Viewport.setMasked({
                message:"Lederhosen",
            xtype: 'mask',
                listeners: {
                    tap: function() {
                        console.debug("try 2")
                    }
                }
            });
    It shouldn't be like this, should it?

    Regards

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,548
    Vote Rating
    872
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    I'm actually classifying this as a bug and have fixed it for 2.0.3
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    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 in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha Premium Member
    Join Date
    Jan 2009
    Posts
    25
    Vote Rating
    0
    wirtsi is on a distinguished road

      0  

    Default


    Sweet ... thanks

  4. #4
    Sencha Premium Member
    Join Date
    Jun 2007
    Posts
    16
    Vote Rating
    0
    vishpool is on a distinguished road

      0  

    Default


    Mitchell, do you know when 2.0.3 will be release to the masses? Could you share an override in the meantime for us?

  5. #5
    Touch Premium Member hotdp's Avatar
    Join Date
    Nov 2010
    Location
    Denmark
    Posts
    603
    Vote Rating
    14
    hotdp will become famous soon enough

      0  

    Default


    Hi,
    This is still not working in 2.1 ??