Spinning animation in `ActionButton` ends too late
When using ActionButton with the loading and disabled props, the spinning animation ends later than when the variable regulating the loading behaviour is set to false:
<ActionButton
disabled={isLoading}
loading={isLoading}
className="u-no-margin--bottom"
onClick={handleGenerate}
>
Request new URL
</ActionButton>
As can be seen in the screen capture, the cursor gets switched back to the pointer value (= enabled state) while the spinning animation is still showing.
Not sure if that's the issue with the component itself, or the application, or React rendering. All the button is doing is rendering itself based on props passed. So some more debugging may be needed to understand why they appear to change at different times.
It's relevant in current architecture (bug in existing component). It's not trivial to reproduce and debug though.