First method : Layout grids should not be used to wrap in the data view, as this will affect the dynamic height of the pop-up window.
Method 2: Adjust the height of class "dataview-content" to max-height : calc(100vh - 300px); for normal screen,
if screen up to 1900px. You use to max-height: 520px ;
I hope this help.