mirror of
https://github.com/p-stream/p-stream.git
synced 2026-04-13 23:20:22 +00:00
Disable popup if closable
This commit is contained in:
parent
58d60d2059
commit
4e73b87a77
1 changed files with 5 additions and 1 deletions
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Reference in a new issue