Describe the bug
Currently, when there is a scrollbar on the page and the Popup is rendered in its rightmost section, the component seems to overlap with the scrollbar, and the viewport boundary detection is not correctly applied.
To Reproduce
Create a Popup component.
Set the overflow-y property of the page where the component is rendered so that it is scrollable.
Toggle the Popup.
Check the rightmost section of the component which is rendered beneath the scrollbar.
Describe the bug Currently, when there is a scrollbar on the page and the Popup is rendered in its rightmost section, the component seems to overlap with the scrollbar, and the viewport boundary detection is not correctly applied.
To Reproduce
For further reference, please check out the following StackBlitz demo: https://stackblitz.com/edit/angular-mgcnum-mv5tsd
Expected behavior The Popup should not overlap with the scrollbar of the page where it is rendered.
Screenshots![image](https://github.com/telerik/kendo-angular/assets/108671673/77836034-e1e9-4449-aa2b-e5ec144820eb)