Extra gap in timeline

Please clarify why in the Gantt diagram, in most cases, on the right and on the left, there seems to be an extra gap, which does not include the interval of any task.
For example here: Mouse wheel zoom
Is that how it’s planned? If yes, why?

Yes, this is expected behavior:

If the displayed date range would match the range of task dates, you wouldn’t be able to extend the displayed date range so easily.

To customize it, you need to modify the gantt.config.start_date and gantt.config.end_date parameters: