[IconButton bug] IconButton alway keep active state after press and hold the space key and click the mouse
Environment Information
- Package version(s): 7
- Browser and OS versions: chrome, edge chromium
Please provide a reproduction of the bug in a codepen:
https://codepen.io/jieqiu0129/pen/mdJNXVW
Actual behavior:
Click one of the iconbutton(for example "ZoomIn") -> move out the mouse from that iconbutton -> press and hold the space key(you can see the iconbutton is the active state) -> click the mouse button -> then release the space key (you can see that iconbutton still keep the active state) -> then click on another iconbutton(for example "ZoomOut") -> you can see the "ZoomIn" is still keep the active state
Expected behavior:
The iconbutton should not always keep the active state after release the space.
Priorities and help requested:
Are you willing to submit a PR to fix? No
Requested priority: Normal
Products/sites affected: ml.azure.com
Hi @jieqiu0129 Thanks for the submission. We are able to reproduce this issue and can see that this is a problem and we'll get this added to our backlog.
I don't think this is reproable anymore.
I don't think this is reproable anymore.
I tried it again using the codepen above just now, the bug still exists. Please follow the repro steps and try again. Thanks
@jieqiu0129 I'm trying to repro this and failing every time, can you add a GIF of how that looks like for you?

Click "zoom-in" icon -> press and hold on the space key -> click "zoom-out" icon -> release the space key and the mouse. You can see the zoom-in icon is still highlighting
I see it now, thanks!
Because this issue has not had activity for over 150 days, we're automatically closing it for house-keeping purposes.
Still require assistance? Please, create a new issue with up-to date details.