I am using the
aps/ToolbarButton) widget in my custom UI.
After a button is clicked and the click handler completes the button stays in disabled state and shows a spinning circle.
This is default behavior to prevent double submission by user. To enable the button back, you should call the
cancel() method on it. Check the documentation for additional information and usage example: click here.