fix: disable map hover popups on mobile devices and when globally disabled

This commit is contained in:
taDuc
2026-06-10 13:00:01 +07:00
parent 7a335f9415
commit 82eca6ee1a
2 changed files with 7 additions and 3 deletions
@@ -173,7 +173,7 @@ export default function PreviewMapShell({
applyGeometryBindingFilter
isPreviewMode
onFeatureClick={onFeatureClick}
hoverPopupEnabled={hoverPopupEnabled}
hoverPopupEnabled={hoverPopupEnabled && !isMobileOrTablet}
getHoverPopupContent={getHoverPopupContent}
onHoverFeatureChange={onHoverFeatureChange}
onPlayPreviewReplay={onPlayPreviewReplay}