Tabs: "manipulation" example leaks memory
|Reported by:||rosenfeld||Owned by:||rosenfeld|
Try this example: http://jqueryui.com/tabs/#manipulation
Closing a tab works by removing the li and respective panel elements and calling 'refresh' on the tabs component.
But by inspecting $('#tabs').data('uiTabs'), you'll notice that there are still references to the removed elements in 'hoverable', 'focusable' and 'binding' properties at least.
Our application heavily depends on dynamic tabs support and fixing this leak would be very helpful. Unfortunately I have no idea on how to properly fix this.
Change History (13)
comment:1 Changed 3 years ago by scottgonzalez
- Component changed from ui.core to ui.tabs
- Owner set to rosenfeld
- Status changed from new to pending
comment:4 Changed 3 years ago by tj.vantoll
- Summary changed from jQuery UI tabs "manipulation" example leaks memory to Tabs: "manipulation" example leaks memory
comment:10 Changed 3 years ago by Scott González
- Resolution set to fixed
- Status changed from open to closed