Current Gallery control is not having MaxHeight property due to which it behaves abnormally when bind with large number of data especially in case of nested gallery feature.
Therefore, I suggest to have a MaxHeight property in gallery control using which we can limit the maximum height of a gallery. It will be helpful when we are setting height of any gallery in a dynamic way.
I am attaching 2 screenshots UP-01.png is the default behavior of gallery when large data is bind with nested gallery. UP-02.png is the screenshot when I had written a function to restrict the maximum height through function dynamically. As there is no MaxHeight property therefore, I have to write function for that. So, if this property would be available, then the dependency of code will be removed and the subsequent performance of app will improve.