Results 1 to 2 of 2

Thread: Dropdown in floating panel

  1. #1
    Sencha User
    Join Date
    Oct 2008
    Vote Rating

    Default Unanswered: Dropdown in floating panel

    I have a floating panel that pops up on button click. in there i have a select field with >30 options. however when i go to scroll through the options it closes the floating window. is there a way to prevent floating window to close until you click like an X or something? just need some way to be able to scroll without floating panel closing.

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Gainesville, FL
    Vote Rating


    You will need to set hideOnMaskTap to false and likely have a close button or some way to handle closing the floating panel yourself.

    new Ext.Panel({
        floating      : true,
        centered      : true,
        width         : 400,
        height        : 400,
        hideOnMaskTap : false,
        items         : [
                xtype   : 'selectfield',
                label   : 'Select',
                options : [
                    { text : 'First Option',  value : 'first'  },
                    { text : 'Second Option', value : 'second' },
                    { text : 'Third Option',  value : 'third'  }
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    Learn BBCode and use it!

    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2

    Think my support is good? Get more personalized support via a support subscription.

    Need more help with your app? Hire Sencha Services

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts