DropDownTree Height does not work in Vuetify v-dialog

1 Answer 159 Views
DropDownTree wrapper
Jerry
Top achievements
Rank 1
Iron
Iron
Iron
Jerry asked on 02 Mar 2022, 05:53 PM

We have a Vuejs and Vuetify application.

We are using the DropDownTree control to display a hierarchy. In some cases, the list can be very long and scrolls off the page.

I tried using the "Height" property. This works for the DropDownTree controls that are NOT in a v-dialog.

But one of our DropDownTree controls displays in a v-dialog. The "Height" property has no effect here.

How can I make the "Height" property work for the DropDownTree in a v-dialog?

Or how can I specify a height for the DropDownTree or add scroll bars when the DropDownTree appears in a v-dialog?

 

1 Answer, 1 is accepted

Sort by
0
Petar
Telerik team
answered on 03 Mar 2022, 11:42 AM

Hi Jerry,

I've tried to replicate the reported behavior inside the attached project. Based on my tests, the height property of the DropDownTree is working correctly both inside and outside the v-dialog.

Please check the attached example and test if the reported issue is replicable inside it. If it is not, you can compare the implementation in your project with the suggested approach. Thus you may identify what should be changed to achieve the targeted functionality. 

If you don't manage to resolve the issue in your project, can you use the attached project as a basis and edit it in a way we can replicate the issue that you experience? Send us the edited project back and we will further check it. 

Regards,
Petar
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Jerry
Top achievements
Rank 1
Iron
Iron
Iron
commented on 03 Mar 2022, 07:27 PM

I can confirm that I found my mistake. The Height property is working correctly.

 

Petar
Telerik team
commented on 04 Mar 2022, 06:21 AM

Hi, Jerry.

I am happy to hear that the issue is resolved! :)

Tags
DropDownTree wrapper
Asked by
Jerry
Top achievements
Rank 1
Iron
Iron
Iron
Answers by
Petar
Telerik team
Share this question
or