Skip to content

Commit 56a8f5e

Browse files
Fixed calculating tooltip bottom position
1 parent b46bbcd commit 56a8f5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

intro.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -816,7 +816,7 @@
816816
*/
817817

818818
// Check for space below
819-
if (targetElementRect.bottom + tooltipHeight + tooltipHeight > windowSize.height) {
819+
if (targetElementRect.bottom + tooltipHeight > windowSize.height) {
820820
_removeEntry(possiblePositions, "bottom");
821821
}
822822

0 commit comments

Comments
 (0)