Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Security Solution] Fixes the position of popover when presenting dyn…
…amic content (#139079) ## Summary Issue #133186 ( as shown in below video) demonstrates couple of issues and this PR tries to fix those. https://user-images.githubusercontent.com/61860752/171141631-f633a223-af76-457d-bed2-6bd8ea418a0e.mp4 **ISSUE - 1** When in host details flyout, clicking on `show Top N`, the datagrid will flicker scrolling from right to left and then back to its original position. **Solution** : This issue was not reproducible so I am assuming this has been already resolved. ( See below video for more details) **ISSUE - 2** When in host details flyout, clicking on `show Top N`, the popup hides behind the bottom screen edge. This is because initially the popup was small but when `Show TopN` is clicked, the content of Popup is changed and popup becomes bigger in size forcing it to exceed out of the screen's real estate. **Solution** : This PR makes sure that, if hover actions Popup's content changes, Popup is re-positioned according to its new dimensions. Checkout below demonstration. https://user-images.githubusercontent.com/7485038/185380538-d8fb159a-d666-4be2-b3b0-161a21d1b9d6.mov
- Loading branch information