Success! Looks like we've fixed this one. According to our records the fix was applied for EXTGWT-2830 in 3.0.6.
  1. #1
    Sencha Premium Member
    Join Date
    Aug 2012
    Posts
    39
    Vote Rating
    1
    rondestvedt is on a distinguished road

      0  

    Default TextButton remains active after clicking

    TextButton remains active after clicking


    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.

  2. #2
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,966
    Vote Rating
    130
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    What you are seeing there is probably the indications, that the button is currently focused. Try pressing tab, is the next button blue in that case?

  3. #3
    Sencha Premium Member
    Join Date
    Aug 2012
    Posts
    39
    Vote Rating
    1
    rondestvedt is on a distinguished road

      0  

    Default


    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.

  4. #4
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,966
    Vote Rating
    130
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    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)

  5. #5
    Sencha Premium Member
    Join Date
    Aug 2012
    Posts
    39
    Vote Rating
    1
    rondestvedt is on a distinguished road

      0  

    Default


    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.

  6. #6
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,966
    Vote Rating
    130
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    I will move this thread to the bugs forum. It should show the focus indicator regardless on where you clicked.

  7. #7
    Sencha - GXT Dev Team
    Join Date
    Feb 2009
    Location
    Minnesota
    Posts
    2,634
    Vote Rating
    80
    Colin Alworth is just really nice Colin Alworth is just really nice Colin Alworth is just really nice Colin Alworth is just really nice Colin Alworth is just really nice

      0  

    Default


    This has been fixed in SVN and the nightly builds, and will be available in the next release.

Thread Participants: 2

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar