Skip to content

Commit

Permalink
Add open and close delay to GitHubHover component's HoverCard
Browse files Browse the repository at this point in the history
  • Loading branch information
haukened committed Nov 4, 2024
1 parent c106614 commit 022ff19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/components/custom/GitHubHover.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
let dataPromise: Promise<any> = new Promise(() => {});
</script>
<div role="note" on:mouseover|once={() => {dataPromise = loadGitHubData()}} on:focus={() => {}}>
<HoverCard.Root>
<HoverCard.Root openDelay={50} closeDelay={150}>
<HoverCard.Trigger
href="https://github.com/haukened/wireguard-web"
target="_blank"
Expand Down

0 comments on commit 022ff19

Please sign in to comment.