search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Daypilot does not detect window size is changed - content height is not adjusted

Asked by FM
2 years ago.

If i change the window size of the daypilot scheduler parent div in height, the height of the schedular does not change.

Around the daypilot-scheduler tag a div has been placed with the properties
position: absolute; top: 0; right:0 ;bottom:0; left: 0; , as indicated in the documentation.
The Typescript file includes : heightSpec: "Parent100Pct".

Can you tell us what we need to adjust so that the height of the component is filled with information from the daypilot scheduler, and does not show any white space?

Answer posted by Dan Letecky [DayPilot]
2 years ago.

Are you able to reproduce the issue using the project from the "Angular Scheduler: Full Screen Layout" tutorial?
https://code.daypilot.org/75104/angular-scheduler-full-screen-layout

Please note that in the latest versions, it's necessary to keep the "watchWidthChanges" property set to true.

You can also request the height adjustment manually by calling show():
https://api.daypilot.org/daypilot-scheduler-show/

Please let me know if the problem persists.

Comment posted by SB
2 years ago.

Thanks for the quick response! We need to check if this is the right solution for us.

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.