From 3f9425000c151aa168daef2c258834ecf66ee388 Mon Sep 17 00:00:00 2001 From: Elena Makarova Date: Wed, 24 Sep 2025 18:24:02 +0300 Subject: [PATCH] fix(HoverPopup): prevent untimely closing --- src/components/HoverPopup/HoverPopup.tsx | 3 +-- src/components/VDisk/VDisk.tsx | 2 +- src/containers/Storage/PDisk/PDisk.tsx | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/components/HoverPopup/HoverPopup.tsx b/src/components/HoverPopup/HoverPopup.tsx index b78b0f63ab..ac902e9a52 100644 --- a/src/components/HoverPopup/HoverPopup.tsx +++ b/src/components/HoverPopup/HoverPopup.tsx @@ -108,7 +108,6 @@ export const HoverPopup = ({ // bigger offset for easier switching to neighbour nodes // matches the default offset for popup with arrow out of a sense of beauty offset={offset || {mainAxis: 12, crossAxis: 0}} - className={YDB_POPOVER_CLASS_NAME} >
- {renderPopupContent()} +
{renderPopupContent()}
) : null} diff --git a/src/components/VDisk/VDisk.tsx b/src/components/VDisk/VDisk.tsx index 716c96f94b..2d6bbd3063 100644 --- a/src/components/VDisk/VDisk.tsx +++ b/src/components/VDisk/VDisk.tsx @@ -46,7 +46,7 @@ export const VDisk = ({ onShowPopup={onShowPopup} onHidePopup={onHidePopup} renderPopupContent={() => } - offset={{mainAxis: 5, crossAxis: 0}} + offset={{mainAxis: 2, crossAxis: 0}} delayClose={delayClose} delayOpen={delayOpen} > diff --git a/src/containers/Storage/PDisk/PDisk.tsx b/src/containers/Storage/PDisk/PDisk.tsx index 7d64c4cfe9..563146e534 100644 --- a/src/containers/Storage/PDisk/PDisk.tsx +++ b/src/containers/Storage/PDisk/PDisk.tsx @@ -85,7 +85,7 @@ export const PDisk = ({ {renderVDisks()}