Skip to content

Commit

Permalink
fix(frontend): change hover delay for tooltips (#3095)
Browse files Browse the repository at this point in the history
# Description

Please include a summary of the changes and the related issue. Please
also include relevant motivation and context.

## Checklist before requesting a review

Please delete options that are not relevant.

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my code
- [ ] I have commented hard-to-understand areas
- [ ] I have ideally added tests that prove my fix is effective or that
my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged

## Screenshots (if appropriate):
  • Loading branch information
Zewed authored Aug 26, 2024
1 parent d7c841b commit ab35057
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion frontend/lib/components/ui/Tooltip/Tooltip.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,11 @@ const Tooltip = ({

return (
<TooltipPrimitive.Provider>
<TooltipPrimitive.Root onOpenChange={setOpen} open={open}>
<TooltipPrimitive.Root
onOpenChange={setOpen}
open={open}
delayDuration={0}
>
<TooltipPrimitive.Trigger asChild>{children}</TooltipPrimitive.Trigger>
<AnimatePresence>
{open && (
Expand Down

0 comments on commit ab35057

Please sign in to comment.