fluentui icon indicating copy to clipboard operation
fluentui copied to clipboard

[Bug]: Cell action in table

Open markuslindmark opened this issue 1 year ago • 2 comments

Library

React Components / v9 (@fluentui/react-components)

System Info

System:
    OS: Linux 5.0 undefined
    CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 0 Bytes / 0 Bytes
    Shell: 1.0 - /bin/jsh

Are you reporting an Accessibility issue?

None

Reproduction

https://stackblitz.com/edit/ye4bpe?file=src%2Fexample.tsx

Bug Description

Actual Behavior

When using a menu component as a cell action in a table and when the menu is open the action button disappears when stop hovering on the row.

Expected Behavior

The action button should remain visible when the menu is active even if the user is not hovering on the row

Logs

No response

Requested priority

High

Products/sites affected

No response

Are you willing to submit a PR to fix?

no

Validations

  • [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • [X] The provided reproduction is a minimal reproducible example of the bug.

markuslindmark avatar Aug 26 '24 08:08 markuslindmark

hover over row: image

click on menu: image

Hotell avatar Aug 26 '24 12:08 Hotell

We should use the same logic as in Tree actions to keep the trigger rendered when the menu is open.

miroslavstastny avatar Aug 26 '24 14:08 miroslavstastny

Here, the action button will remain visible always - Screenshot (225) After click on action button - Screenshot (224)

swapanmandi avatar Sep 05 '24 21:09 swapanmandi

This issue has not had activity for over 180 days! We're adding Soft close label and will close it soon for house-keeping purposes. Still require assistance? Please add comment - "keep open".

Because this reported issue has not had any activity for over 180 days, we're automatically closing it for house-keeping reasons.

Still require assistance? Please, create a new issue with up-to date details and latest version of Fluent.