Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Ext.menu.Menu(メニュー項目をクリックするか、メニューの外のある領域をクリックして) contextmenu ( )を開いたり閉じたりするたびに、 <div>s が DOM から削除されず、どういうわけか見えなくなることに気付きました。
Ext.menu.Menu
<div>
これを変更するには?
これを試して、コンポーネント全体を破壊できます-
listeners: { hide:function(menu, opt){ Ext.destroy(menu); } }
ただしExt.menu.Menu、次回メニューボタンをクリックするときに作成する必要があります。