I need to change an item in one of the slots in the Picker component. When I do so while the slot is still animating, I get an error: "Uncaught TypeError: Cannot read property 'style' of undefined" which is obviously caused by changing an element which is currently being animated.
Is there a way to determine / listen to an event that indicates whether the slots are currently moving / animating?
Listening to the 'pick' event indicates the end of the animation but when there is currently no selection / animation of the slot, I listen to the pick event forever and nothing happens.
So I need to determine whether there is any selection / animation going on in the slot.