OverlayContainer 与 FullscreenOverlayContainer

OverlayContainer vs. FullscreenOverlayContainer

我在使用 OverlayContainer 的全屏模式下遇到了一些问题。

解决方法是使用FullscreenOverlayContainer(在全屏模式下也有效)

The FullscreenOverlayContainer is an alternative to OverlayContainer that supports correct displaying of overlay elements in fullscreen mode.

现在,我想知道为什么 OverlayContainer 存在:

comment in #19434

original reasoning was that handling full-screen mode was extra code that not everyone necessarily needed

所以当你想节省一些额外的字节并且真的不需要全屏幕时你可以使用 OverlayContainer.
我对此的看法是始终使用 FullscreenOverlayContainer.