I see there was a fix to clear the active state of a TextButton when the button is detached from the DOM - EXTGWT-2722. But the active state remains if it is not detached, as seen in http://www.sencha.com/examples/#ExamplePlace:buttons under the "Text Only" section. Is this the intended behavior? Since this is not a toggle button I'm not sure why the active state of the button remains.
Yes, tabbing or clicking away clears the active state of the button. But what is the reason for retaining the active state? In my case I am using a TextButton to save information on a form. Once I click save, I would expect the button to appear the same as before I clicked it, but instead it just appears stuck.
I noticed that the Icon buttons behave the same as TextButton, except that if you click on the icon itself it does clear the active state.
This is not really an "active" indicator like when you click it. This means that the button is currently focused and receives keyboard interaction. There is currently no flag to turn that of. The only solution would to a custom ButtonCellAppearance, onFocus needs to be an empty method (no code running)
Can you look at http://www.sencha.com/examples/#ExamplePlace:buttons? On any of the buttons that have icons, if you click on the icon itself the blue is cleared once the click is made. This is how I would expect the TextButton to work. However, if you click anywhere other than right on the icon, it does not work as expected...it works just like the TextButtons, where the blue remains.