tooltip positioning issue
Closed this issue · 1 comments
LorenzoCoronati commented
The function positionElements does not check wether the targetElemPos.left value is negative and therefore the tooltip gets positioned outside the left margin.
The line
targetElemPos.left = Math.round(targetElemPos.left);
IMO should be changed to
targetElemPos.left = ((targetElemPos.left < 0) ? 0 : Math.round(targetElemPos.left));
pkozlowski-opensource commented
- this repository is only for bower distribution, code and issues live in https://github.com/angular-ui/bootstrap - please re-open there
- while opening issues please follow issue template (most importantly, add a live reproduce scenario) - see https://github.com/angular-ui/bootstrap/blob/master/CONTRIBUTING.md#you-think-youve-found-a-bug