If we try to open a ribbon gallery (like reference tables) which the height is more important than the height of the window, then we get this display at first click:
Then we have the normal behaviour after more clicks:
Note: Reproducible on ODF demo (snapshot).