The expanding animation would start only after the first speed milliseconds have expired, after which it might already be too late for it to start (i.e. the action completes in less than speed milliseconds). Waiting for the animation to start once isLoading is detected to be true makes it feel very laggy too, especially when relying on the default speed (1000).
This PR changes the expanding animation to start immediately when isLoading changes to true.
The expanding animation would start only after the first
speed
milliseconds have expired, after which it might already be too late for it to start (i.e. the action completes in less thanspeed
milliseconds). Waiting for the animation to start onceisLoading
is detected to be true makes it feel very laggy too, especially when relying on the default speed (1000).This PR changes the expanding animation to start immediately when
isLoading
changes totrue
.