@team-monolith/cds 1.107.3 → 1.107.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -29,7 +29,9 @@ const DropdownMenu = React.forwardRef(function DropdownMenu(props, ref) {
|
|
|
29
29
|
${ORIGIN_PROPS_TO_MARGIN(anchorOrigin, isNestedMenu)}
|
|
30
30
|
}
|
|
31
31
|
`;
|
|
32
|
-
|
|
32
|
+
// anchorEl이 DOM에 없으면 Popover의 위치 계산이 실패합니다.
|
|
33
|
+
const isAnchorRendered = !!anchorEl && anchorEl.isConnected;
|
|
34
|
+
if (!isAnchorRendered) {
|
|
33
35
|
return _jsx(_Fragment, {});
|
|
34
36
|
}
|
|
35
37
|
// 최상위 드롭다운 메뉴
|