Currently, the RadRibbonGallery control provides the PopupViewportHeight property that sets the Height property of the ScrollViewer, which hosts the RadGalleryItem instances when it is expanded.
We could introduce a property, for example, PopupViewportMaxHeight that will set the MaxHeight property of the ScrollViewer. This way, if the height gets higher than the value specified for this property, a vertical scrollbar should appear.