The height of the navigation drawer can be handled by its parent element. Navigation drawer can be appended either to the page or to its parent. This can be achieved by the position property that takes a value fixed or normal and appends the drawer to the page or to its parent respectively.
Since navigation drawer is a layout control, it is set with the height based on its parent element. By default, the control is rendered with fixed position respective to the page. So, to handle the height of the navigation drawer, create one wrapper div and set the height for the same. After creating the element, render the navigation drawer by setting the position property to normal. Now, the navigation drawer renders with the height of the wrapper element that is set in the wrapper. Refer to the following code example.
The following screenshot displays the output.
This page will automatically be redirected to the sign-in page in 10 seconds.