The animator is capturing animation start and end events from other elements who bubble this. This will in some situations make the animator start/end before it should.
This PR compare the event target and element. If events bubble from other elements, the start and end listeners will not proceed.
The animator is capturing animation
start
andend
events from other elements who bubble this. This will in some situations make the animator start/end before it should.This PR compare the
event target
andelement
. If events bubble from other elements, the start and end listeners will not proceed.