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.
When using
ActionButton
with theloading
anddisabled
props, the spinning animation ends later than when the variable regulating the loading behaviour is set to false: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.