Skip to content

Commit

Permalink
Reduce tooltip popup delay duration for Create Agent button on Web app (
Browse files Browse the repository at this point in the history
#926)

The problem was the tool tip was visible on hover, but it was slow, so before the tool tip popped up, the user would click on the button and this stopped the tool tip from popping up.

So i reduced the popup delay to 10ms. now as soon as user hovers over the button, they will see that its a feature coming soon!
  • Loading branch information
shantanuSakpal committed Sep 29, 2024
1 parent be8de1a commit 65d5e03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/interface/web/app/agents/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ export default function Agents() {
<h1 className="text-3xl flex items-center">Agents</h1>
<div className="ml-auto float-right border p-2 pt-3 rounded-xl font-bold hover:bg-stone-100 dark:hover:bg-neutral-900">
<TooltipProvider>
<Tooltip>
<Tooltip delayDuration={10}>
<TooltipTrigger>
<div className="flex flex-row">
<Plus className="pr-2 w-6 h-6" />
Expand Down

0 comments on commit 65d5e03

Please sign in to comment.