fluentui icon indicating copy to clipboard operation
fluentui copied to clipboard

[IconButton bug] IconButton alway keep active state after press and hold the space key and click the mouse

Open jieqiu0129 opened this issue 6 years ago • 7 comments

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

jieqiu0129 avatar Apr 07 '20 03:04 jieqiu0129

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.

joschect avatar Apr 07 '20 21:04 joschect

I don't think this is reproable anymore.

khmakoto avatar Feb 25 '21 01:02 khmakoto

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 avatar Feb 25 '21 01:02 jieqiu0129

@jieqiu0129 I'm trying to repro this and failing every time, can you add a GIF of how that looks like for you?

khmakoto avatar Feb 25 '21 17:02 khmakoto

1

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

jieqiu0129 avatar Feb 26 '21 04:02 jieqiu0129

I see it now, thanks!

khmakoto avatar Feb 26 '21 20:02 khmakoto

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.

msft-fluent-ui-bot avatar Oct 14 '21 23:10 msft-fluent-ui-bot