1. #1
    Sencha User
    Join Date
    Nov 2012
    Vote Rating
    Jsri is on a distinguished road


    Default Unanswered: Floating Panel - shifting to the top left corner

    I need to show a panel beside a text box when I tap on an image (inside "Ext.dataview.Dataview"). The first time it loads fine, but when I go to the next page and come back to the same page, I see the panel gets shifted to the top-left corner (near the back button).

    See the below code.

    var btn = Ext.get('text_1');
    var pnl = Ext.create('Ext.Panel, {
    model: true,
    hideOnMaskTap: true,
    xtype: 'label',
    html: 'Caption'

    Please help me on this. I have been trying for days on this

  2. #2
    Sencha User bricemason's Avatar
    Join Date
    Jan 2008
    Upstate NY
    Vote Rating
    bricemason has a spectacular aura about bricemason has a spectacular aura about bricemason has a spectacular aura about




    Your code sample is broken as it's missing the closing single quote around the class name. Also you've defined a config option named 'model' where I'm assuming you meant 'modal'.

    Could you please provide a more detailed code sample? In particular the dataview rendering code along with it's scope of use. You mention navigating to another page but what is the context? Is it a navigation view? Is it a tab panel? Is it a navigation view within a tab panel?

    When you provide more details, please wrap your code sample in code tags so they print nicer.

    Brice Mason
    Front End Developer
    Modus Create


    Sencha Touch Screencasts
    Vimeo - Sencha Touch Channel

    Github Projects:
    Sencha Cordova Builder enables the automatic creation, building, and running of PhoneGap (Cordova) projects with Sencha Touch.

    Am I Sencha Touch Ready? checks your system to determine what you need to do to start Sencha Touch development. If you're having trouble getting up and running, try this out.

    Sencha Tools Bridge allows Sencha SDK Tools to co-exist with Sencha Cmd on the same system.

Thread Participants: 1