Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] - Table row hover state bug when using tooltip #3002

Open
Moriarty47 opened this issue May 14, 2024 · 2 comments
Open

[BUG] - Table row hover state bug when using tooltip #3002

Moriarty47 opened this issue May 14, 2024 · 2 comments
Labels
📦 Scope : Components Related to the components 🐛 Type: Bug Something isn't working

Comments

@Moriarty47
Copy link

NextUI Version

2.3.5

Describe the bug

I am using Table that has content wrapped in tooltips with selectionMode="multiple" option, here is a minimal example.

Your Example Website or App

No response

Steps to Reproduce the Bug or Issue

When hover throught tooltips from bottom to top, rows hover state stoped, as you can see below.

1

Expected behavior

As a user, I expected the rows hover state act normally.

Screenshots or Videos

No response

Operating System Version

WIndows

Browser

Chrome

Copy link

linear bot commented May 14, 2024

@wingkwong wingkwong added 🐛 Type: Bug Something isn't working 📦 Scope : Components Related to the components labels May 15, 2024
@KumJungMin
Copy link

This issue occurs when the mouse passes over the tooltip of row.
Currently, the tableRow uses the hover functionality of the react-aria library.

In table selection mode, I think it should be determined whether to cancel the hover when the mouse hovers over the tooltip. If the hover should be maintained when the mouse is over the tooltip, I think modifications might be needed within the react-aria library itself. 🥲

import {useHover} from "@react-aria/interactions";

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📦 Scope : Components Related to the components 🐛 Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants