We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab2c179 commit 00301edCopy full SHA for 00301ed
src/components/CellWithPopover/CellWithPopover.tsx
@@ -11,6 +11,8 @@ interface CellWithPopoverProps extends PopoverProps {
11
wrapperClassName?: string;
12
}
13
14
+const DELAY_TIMEOUT = 100;
15
+
16
export function CellWithPopover({
17
children,
18
className,
@@ -19,7 +21,12 @@ export function CellWithPopover({
19
21
}: CellWithPopoverProps) {
20
22
return (
23
<div className={b(null, wrapperClassName)}>
- <Popover className={b('popover', className)} {...props}>
24
+ <Popover
25
+ delayClosing={DELAY_TIMEOUT}
26
+ delayOpening={DELAY_TIMEOUT}
27
+ className={b('popover', className)}
28
+ {...props}
29
+ >
30
{children}
31
</Popover>
32
</div>
0 commit comments