Created by: dperetti
offsetWidth & offsetHeight don't work with svg elements. This fix amends getPosition() so it uses getBoundingClientRect() when the tooltip is used with an svg element.
Created by: dperetti
offsetWidth & offsetHeight don't work with svg elements. This fix amends getPosition() so it uses getBoundingClientRect() when the tooltip is used with an svg element.