Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9567e6f

Browse files
author
Valentin Hervieu
committed
fix(ticksTooltip): Fix the positioning bug on Firefox due to tooltip on flex element.
Fixed by adding the tooltip-append-to-body config element to enforce the tooltip to be added to the body. Discussed in angular-slider#209
1 parent a17182f commit 9567e6f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/rzSliderTpl.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
<ul ng-show="showTicks" class="rz-ticks"> <!-- // 9 The ticks -->
1313
<li ng-repeat="t in ticks track by $index" class="tick"
1414
ng-class="{selected: t.selected}" ng-style="t.style"
15-
ng-attr-uib-tooltip="{{ t.tooltip }}" ng-attr-tooltip-placement="{{t.tooltipPlacement}}">
15+
ng-attr-uib-tooltip="{{ t.tooltip }}" ng-attr-tooltip-placement="{{t.tooltipPlacement}}"
16+
ng-attr-tooltip-append-to-body="{{ t.tooltip ? true : undefined}}">
1617
<span ng-if="t.value != null" class="tick-value"
1718
ng-attr-uib-tooltip="{{ t.valueTooltip }}"
1819
ng-attr-tooltip-placement="{{t.valueTooltipPlacement}}">{{ t.value }}</span>

0 commit comments

Comments
 (0)