Created by: ruiramos
There was a problem with popovers/tooltips in large horizontal containers (with scroll) - the popovers that overflowed were being corrected but those who didn't were sometimes being rendered out of place.
This was due to a wrong value of the viewport adjusted delta
being applied, as it was relying on the viewportDimentions.right
(which comes from getBoundingClientRect
, dependent on scroll) and not viewportDimentions.width
, the total viewport's width.