Viewing a custom layout with the legend not selected in the Print widget displays an empty legend encompassing the entirety of the map frame (ArcGIS Pro runtime, ArcGIS Web AppBuilder, and ArcGIS Enterprise 11.1).
This issue is not reproducible. If experiencing this behavior, please reach out to Esri Support Services, as a new reproduction case is needed to continue the investigation.