Disable popup if closable

This commit is contained in:
Pas 2025-03-08 14:14:24 -07:00
parent 58d60d2059
commit 4e73b87a77

View file

@ -422,7 +422,11 @@ export function MediaCard(props: MediaCardProps) {
};
const shouldShowHoverInfo =
showHoverInfo && !overlayVisible && isBigScreen && enablePopDetails;
showHoverInfo &&
!overlayVisible &&
isBigScreen &&
enablePopDetails &&
!props.closable;
const isReleased = useCallback(
() => checkReleased(props.media),