This is a migrated thread and some comments may be shown as answers.

No vertical scroll bar when too much content to fit

4 Answers 1399 Views
Window
This is a migrated thread and some comments may be shown as answers.
randy
Top achievements
Rank 1
randy asked on 01 Nov 2020, 11:45 PM

We have 2 different instances of Window:

  • Editor
  • Details

Editor always has too much content to show and Windows automatically adds a vertical scroll bar.  Editor's content is a number of Telerik controls "statically" defined in the Razor.  We also define a height and width.

Details is mostly a <table> with rows built from a foreach loop.  We don't specify a Height or Width.  Sometimes there's too many rows to fit in the dialog given the browser or screen size. Details does not display a vertical scroll bar when there is too much content so much of it is hidden.

How can we get the vertical scroll bar on the Details instance described above?

4 Answers, 1 is accepted

Sort by
0
Lachezar Georgiev
Telerik team
answered on 02 Nov 2020, 02:43 PM

Hello Randy,

As far as I understand there is a problem with a vertical scroll bar not showing. Can you send me a project, so I can investigate the issue and provide you further information?

Regards, Lachezar Georgiev 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/.

0
randy
Top achievements
Rank 1
answered on 03 Nov 2020, 02:27 AM
Solved.  Specify Height (and Width?) and you get the scroll bar.
0
Lachezar Georgiev
Telerik team
answered on 03 Nov 2020, 03:19 PM

Hi Randy,

I'm glad you resolved the issue.

Regards, Lachezar Georgiev 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/.

Ted
Top achievements
Rank 1
Iron
Iron
commented on 31 Oct 2023, 08:35 PM

So how was this fixed exactly? We want the Telerik Form to show a vertical scroll bar if the content in the form overflows the form height.
0
Radko
Telerik team
answered on 01 Nov 2023, 07:43 AM

Hello Ted,

To achieve what you are after, you should set such a height to the form which is not large enough to fit all the editors within it. For the vertical scroll bar to appear, you can set the overflow-y property to scroll. Lastly, this should be practically valid for any block elements, not just our form.

Please have a look at the following example: https://blazorrepl.telerik.com/GxlPubkh43PpeyWQ03

Regards,
Radko
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Telerik family, check out our getting started resources!
Tags
Window
Asked by
randy
Top achievements
Rank 1
Answers by
Lachezar Georgiev
Telerik team
randy
Top achievements
Rank 1
Radko
Telerik team
Share this question
or