Unplanned
Last Updated: 30 Jun 2023 15:02 by Greg
Greg
Created on: 30 Jun 2023 15:02
Category: Gantt
Type: Bug Report
6
The TreeList in a Gantt with 100% height cannot dynamically get resized to fit its parent container

I am trying to make the Blazor Gantt control fill a container width and height.

If I set the height of the Gantt control to 100%, it resizes to fill the container except for the tree part of the Gantt control as it stays at whatever size the window was when it first loaded.

===== ADMIN EDIT =====

Meanwhile, as a workaround, you can add a bool flag that will refresh the whole Gantt upon resizing the container. Here is an example of this approach I have prepared at the following REPL link.

You may notice a little flick with this workaround. However, you can cover it with a short loader.
0 comments