angular-bootstrap-slider
angular-bootstrap-slider copied to clipboard
Tooltip - Initial on wrong Position
Basic Integration
<slider ng-model="element.ngModel.rotate" min="0" step="1" max="360"></slider>
But Tooltips is first on the wrong position.
+1
+1
+1
+1
+1
If anyone wants to contribute a fix instead of contributing a rather pointless +1, that would be welcome.
Not sure about the cause, but to solve this we can broadcast relayout event.
$scope.$broadcast('slider:relayout')
This will render the tooltip again, after initialization. Useful in situations when the slider and tooltip are initially hidden.