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.The Tooltip Template of the Gantt behaves strangely in a WASM application. It flickers and does not display any information. Reproduction in REPL which is essentially a WASM app: https://blazorrepl.telerik.com/QQFEapOg56MCIhIK48.
The issue is not reproducible in a server-side application using the same code.
A REPL example to reproduce the issue is:
https://blazorrepl.telerik.com/mIuTdbuT08QWQoY319
The error is:
Adding a new appointment in the Gantt throws an System.ArgumentNullException. The issue can be reproduced only in WASM application.
Steps To Reproduce:
I have a page with a Gantt chart and a Button. The button navigates to another page in the app (NavigationManager.NavigateTo()). When I click the button an exception is thrown:
Exception trace: Error: Microsoft.JSInterop.JSException: An exception occurred executing JS interop: The JSON value could not be converted to System.Double. Path: $ | LineNumber: 0 | BytePositionInLine: 4.. See InnerException for more details. ---> System.Text.Json.JsonException: The JSON value could not be converted to System.Double. Path: $ | LineNumber: 0 | BytePositionInLine: 4.
---> System.InvalidOperationException: Cannot get the value of a token type 'Null' as a number.
1. Go to https://demos.telerik.com/blazor-ui/gantt/templates
2. Scroll to the end of the timeline horizontally
3. Move the mouse pointer to timelineTooltip appears in the wrong place