I have a Kendo dropdown list in my project, data of which is dependent from some external conditions and can be changed while widget is already constructed.
When you have 1 item initially and you open dropdown - height for the suggestions popup is fine and covers this 1 item.
When you later change number of items to 6 for example and try to open it - height is still covers only one item and creates a scroll instead of just expand to all available area.
Here is a Dojo example of how it works: https://dojo.telerik.com/oGubaqiX
You should open dropdown, then hit "Change DS" button and the open dropdown again.
As you can see the behavior is absolutely wrong.
How can I change it or what am I doing wrong?