Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Dec 2007
    Posts
    40
    Vote Rating
    0
    Seboss is on a distinguished road

      0  

    Default [FIXED]Broken CycleButton

    [FIXED]Broken CycleButton


    When hovering on a cycle button placed in a toolbar, I get the following error:
    Code:
    Uncaught TypeError: Cannot read property 'dom' of null
    Ext.define.isMenuTriggerOver    ext-all-debug.js:51271
    Ext.define.onMouseOver    ext-all-debug.js:51016
    anonymous:5
    Ext.EventManager.createListenerWrap
    On mouse out, I get this error:
    Code:
    Uncaught TypeError: Cannot read property 'dom' of null
    Ext.define.isMenuTriggerOut    ext-all-debug.js:51276
    Ext.define.onMouseOut    ext-all-debug.js:51044
    Ext.define.monitorMouseOver    ext-all-debug.js:51030
    anonymous:5
    Ext.EventManager.createListenerWrap    ext-core-debug.js:13365
    Finally, when clicking the cycle button, this is the error I get:
    Code:
    Uncaught TypeError: Cannot read property 'dom' of null
    Ext.define.isClickOnArrow    ext-all-debug.js:51242
    Ext.define.onClick    ext-all-debug.js:51249
    anonymous:5
    Ext.EventManager.createListenerWrap
    It seems an "arrowEl" property is not properly defined.

    To reproduce:
    Code:
    Ext.create("Ext.panel.Panel", {
      //renderTo: "target",
      title: "Test",
      height: 500,
      width: 500,
      dockedItems: [{
        dock: "top",
        xtype: "toolbar",
        items: [{
          showText: true,
          xtype: "cycle",
          prependText: "View as ",
          items: [{
            text: "text",
            checked: true
          }, {
            text: "HTML"
          }]
        }]
      }]
    });
    EDIT: Split button suffers from the same problem, which is only logical since Cycle inherits from Split.

  2. #2
    Ext JS Premium Member
    Join Date
    Nov 2009
    Location
    St Louis,MO
    Posts
    267
    Vote Rating
    18
    James Goddard will become famous soon enough James Goddard will become famous soon enough

      0  

    Default


    I can confirm this is fixed in pr2 (at least for the split button).

  3. #3
    Sencha User Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    18
    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


    Not cycle, it will be in the next release.

  4. #4
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,546
    Vote Rating
    64
    Animal is a jewel in the rough Animal is a jewel in the rough Animal is a jewel in the rough

      0  

    Default


    Cycle button will be fixed. And the Feed Viewer example updated to use a CycleButton to cycle through the view options.

Similar Threads

  1. Replies: 7
    Last Post: 22 Feb 2010, 6:06 PM
  2. [FIXED-459][3.??] CycleButton setActiveItem bug
    By vladsch in forum Ext 3.x: Bugs
    Replies: 1
    Last Post: 4 Feb 2010, 7:34 AM
  3. [FIXED-261][3.x]CycleButton menu not drawn
    By qooleot in forum Ext 3.x: Bugs
    Replies: 1
    Last Post: 24 Sep 2009, 5:38 PM
  4. [FIXED][3.x] Cyclebutton
    By galdaka in forum Ext 3.x: Bugs
    Replies: 4
    Last Post: 27 May 2009, 6:59 PM
  5. Replies: 1
    Last Post: 18 Feb 2009, 10:37 PM

Thread Participants: 3