You found a bug! We've classified it as EXTJS-8703 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Sencha User
    Join Date
    Aug 2012
    Posts
    1
    Vote Rating
    0
    yoshinori is on a distinguished road

      0  

    Default Ext.tip.QuickTipManager target does not accept el anymore.

    Ext.tip.QuickTipManager target does not accept el anymore.


    Hi,
    Please paste following code snippet to 'CodeEditor' of the ExtJS 4.2 API doc.
    This code does not show the quicktip with ExtJS 4.2 and ExtJS 4.1.3 although it works well with ExtJS 4.1.1.
    Seems like ExtJS 4.2 accepts only 'id' property as target.

    Code:
    // Init the singleton.  Any tag-based quick tips will start working.
    Ext.tip.QuickTipManager.init();
    
    // Apply a set of config properties to the singleton
    Ext.apply(Ext.tip.QuickTipManager.getQuickTip(), {
        maxWidth: 200,
        minWidth: 100,
        showDelay: 50      // Show 50ms after entering target
    });
    
    // Create a small panel to add a quick tip to
    Ext.create('Ext.container.Container', {
        id: 'quickTipContainer',
        width: 200,
        height: 150,
        style: {
            backgroundColor:'#000000'
        },
        renderTo: Ext.getBody()
    });
    var con = Ext.ComponentQuery.query('container#quickTipContainer')[0];
    console.log(con);
    // Manually register a quick tip for a specific element
    Ext.tip.QuickTipManager.register({
        target:con.getEl(),
        title: 'My Tooltip',
        text: 'This tooltip was added in code',
        width: 100,
        dismissDelay: 10000 // Hide after 10 seconds hover
    })

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,649
    Vote Rating
    817
    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


    Thanks for the report! I have opened a bug in our bug tracker.

Thread Participants: 1