Widget: Avoid tracking remove event handlers for classes options#1769
Widget: Avoid tracking remove event handlers for classes options#1769scottgonzalez wants to merge 1 commit into
Conversation
|
|
|
👍 |
|
Updated to avoid leaking event listeners. |
|
I also find this issue, thanks for your works ~~ |
|
We might need to add a |
979e468 to
e8767c9
Compare
|
Updated to actually work. I confirmed that this fixes all reported issues with the |
Fixes #15078 Fixes #15082 Fixes #15095 Fixes #15136 Fixes #15152
e8767c9 to
c87ee3b
Compare
| var isTracked = $.map( that.classesElementLookup, function( elements ) { | ||
| return elements; | ||
| } ) | ||
| .some( function( elements ) { |
There was a problem hiding this comment.
This is a single element, so the name should be singular, though element is already taken
There was a problem hiding this comment.
This is a collection of elements for a single class.
Fixes #15078 Fixes #15082 Fixes #15095 Fixes #15136 Fixes #15152 Closes gh-1769
Fixes #15082
Fixes #15095