diff --git a/entry_types/scrolled/package/src/contentElements/hotspots/Hotspots.js b/entry_types/scrolled/package/src/contentElements/hotspots/Hotspots.js index bc3492b1a..b8f1bb9d7 100644 --- a/entry_types/scrolled/package/src/contentElements/hotspots/Hotspots.js +++ b/entry_types/scrolled/package/src/contentElements/hotspots/Hotspots.js @@ -62,14 +62,15 @@ export function Hotspots({contentElementId, contentElementWidth, customMargin, c contentElementWidth={contentElementWidth} configuration={configuration} displayFullscreenToggle={false} - keepTooltipsInViewport={true} /> + keepTooltipsInViewport={true} + tooltipsAboveNavigationWidgets={true} /> } /> ); } export function HotspotsImage({ contentElementId, contentElementWidth, customMargin, configuration, - keepTooltipsInViewport, floatingStrategy, + keepTooltipsInViewport, floatingStrategy, tooltipsAboveNavigationWidgets, displayFullscreenToggle, onFullscreenEnter, children = children => children }) { @@ -219,6 +220,7 @@ export function HotspotsImage({ (!panZoomEnabled && activeIndex < 0 && hoveredIndex === index)} active={activeIndex === index} keepInViewport={keepTooltipsInViewport} + aboveNavigationWidgets={tooltipsAboveNavigationWidgets} wrapperRef={contentRectRef} floatingStrategy={floatingStrategy} onMouseEnter={() => setHoveredIndex(index)} diff --git a/entry_types/scrolled/package/src/contentElements/hotspots/Tooltip.js b/entry_types/scrolled/package/src/contentElements/hotspots/Tooltip.js index 532745923..222aa9bd4 100644 --- a/entry_types/scrolled/package/src/contentElements/hotspots/Tooltip.js +++ b/entry_types/scrolled/package/src/contentElements/hotspots/Tooltip.js @@ -43,6 +43,7 @@ export function Tooltip({ area, contentElementId, portraitMode, configuration, visible, active, panZoomEnabled, imageFile, containerRect, keepInViewport, floatingStrategy, + aboveNavigationWidgets, wrapperRef, onMouseEnter, onMouseLeave, onClick, onDismiss, }) { @@ -161,7 +162,7 @@ export function Tooltip({ {...getReferenceProps()} /> {isMounted && - +