This bug is causing an type error during acceptance testing, because in the following expandItem() method, outer = this.$() is null and outerWidth = outer.width() throws an error. Adding a check to updateFn solves the problem. If the component is destroyed or destroying, stop the expanding animation and do not call expandItem.
This bug is causing an type error during acceptance testing, because in the following
expandItem()
method,outer = this.$()
is null andouterWidth = outer.width()
throws an error. Adding a check toupdateFn
solves the problem. If the component is destroyed or destroying, stop the expanding animation and do not callexpandItem
.