Opened 5 years ago
Last modified 5 years ago
#15245 new bug
[Selectable] Number of bindings grow over time when programatically adding / removing selectable elements.
Reported by: | Thomas Romera | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | none |
Component: | ui.selectable | Version: | 1.12.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description (last modified by )
There is a performance issue on selectable.js when programmatically adding/removing elements that can be selected. The number of bindings selectable is working on is growing over time.
Example: https://jsfiddle.net/hzygug67/5/
Obviously with that small number of elements, it does not cause any issues, but when working with 300+ elements, it starts to be a problem when selecting / unselecting elements.
Only workaround I've found for now is to destroy and re-create the selectable widget.
Note: See
TracTickets for help on using
tickets.