You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@richardolsson I have tried manipulating the delay directly in the useToggleDebounce function, as well as having the function take the delay as an argument, as possible solutions to this issue. Not sure this is the correct approach, also because we have a comment in the code stating that the delay is there for a reason. What do you think?
@richardolsson I have tried manipulating the delay directly in the useToggleDebounce function, as well as having the function take the delay as an argument, as possible solutions to this issue. Not sure this is the correct approach, also because we have a comment in the code stating that the delay is there for a reason. What do you think?
I believe the delay is there for a reason, to prevent a popper from closing when the user accidentally moves the cursor outside while going from the cell to the popper.
I believe the only way to solve this is to either have just one popper shared by all cells (which will likely introduce other problems) or to have some sort of shared state (in context).
Letting this one go because it turned out to be more complicated than it seemed at first glance, will be happy to learn from someone else's solution later on!
Description
Steps to reproduce
Expected Behaviour
For one hover card to be visible at one time.
Actual Behaviour
Multiple hover cards are visible at one time.
Screenshots (if you have any)
Screen.Recording.2025-01-09.at.13.30.01.mov
The text was updated successfully, but these errors were encountered: