Skip to content

Commit 97cddcf

Browse files
committed
Use fixed tooltip position for backdrop hotspots
REDMINE-20853
1 parent 5890bc0 commit 97cddcf

File tree

1 file changed

+2
-1
lines changed
  • entry_types/scrolled/package/src/contentElements/hotspots

1 file changed

+2
-1
lines changed

entry_types/scrolled/package/src/contentElements/hotspots/Hotspots.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ export function Hotspots({
4747
configuration.enableFullscreen}
4848
keepTooltipsInViewport={configuration.position === 'backdrop'}
4949
onFullscreenEnter={enterFullscreen}
50-
floatingStrategy={configuration.position === 'standAlone' ? 'fixed' : 'absolute'}>
50+
floatingStrategy={(configuration.position === 'standAlone' ||
51+
configuration.position === 'backdrop') ? 'fixed' : 'absolute'}>
5152
{children =>
5253
<ContentElementBox>
5354
<ContentElementFigure configuration={configuration}>

0 commit comments

Comments
 (0)