Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Ext JS Premium Member
    Join Date
    May 2008
    Posts
    528
    Vote Rating
    0
    Eric24 is on a distinguished road

      0  

    Default [OPEN-1305] Removing item from menu leaves <li> element in DOM

    [OPEN-1305] Removing item from menu leaves <li> element in DOM


    Removing a menu item using remove(itemId) removes the item but leaves this in the DOM: <li class="x-menu-list-item " id="x-menu-el-ext-comp-1583"></li>

  2. #2
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,505
    Vote Rating
    53
    Animal has a spectacular aura about Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    What if you configure your menu items with

    Code:
    removeMode: 'container'
    ?

  3. #3
    Ext JS Premium Member
    Join Date
    May 2008
    Posts
    528
    Vote Rating
    0
    Eric24 is on a distinguished road

      0  

    Default


    Nope. Never heard of removeMode. Where can I learn about it? What component is it a part of?

    BTW, I noticed that if I use removeAll(), the problem doesn't happen.

Similar Threads

  1. [OPEN-1010]Menu position bug when adding/removing items
    By danh2000 in forum Ext 3.x: Bugs
    Replies: 6
    Last Post: 30 May 2010, 12:18 AM
  2. Replies: 3
    Last Post: 1 Feb 2010, 2:34 PM
  3. Replies: 6
    Last Post: 4 Mar 2009, 11:31 AM
  4. Attach Menu to existing DOM button or element
    By russncraig in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 2 Feb 2009, 5:50 AM
  5. Replies: 3
    Last Post: 8 Apr 2008, 11:52 AM

Thread Participants: 1