Primarily this PR fixes the bug affecting IE9-IE11 tooltip positioning when tooltipAppendToBody attribute is passed. Basically top and left values have been based on window.scrollY and window.scrollX respectively. As these two values are not available in IE (resulting in misplaced toolips), pageYOffset and pageXOffset aliases should be used instead (see Notes in https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollY).
By the way, I fixed some trivial stylesheet issues (just looking at scss lint output).
Primarily this PR fixes the bug affecting IE9-IE11 tooltip positioning when
tooltipAppendToBody
attribute is passed. Basicallytop
andleft
values have been based onwindow.scrollY
andwindow.scrollX
respectively. As these two values are not available in IE (resulting in misplaced toolips),pageYOffset
andpageXOffset
aliases should be used instead (see Notes in https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollY).By the way, I fixed some trivial stylesheet issues (just looking at
scss lint
output).