Bug on height of DrawerContent ?

1 Answer 17 Views
SideDrawer
Sébastien
Top achievements
Rank 1
Sébastien asked on 15 May 2024, 04:08 PM

Hi,

I cant find a solution to remove the white padding on the top/bottom of the drawercontent. 

Am I doing something wrong, or is it a bug ?

 

Here is a simple code to reproduce : 

<ContentPage.Content>
    <telerik:RadSideDrawer x:Name="drawer" DrawerLength="300" DrawerLocation="Left" DrawerTransitionType="Push">

        <telerik:RadSideDrawer.DrawerContent>
            <Grid HorizontalOptions="FillAndExpand" VerticalOptions="FillAndExpand" BackgroundColor="Aqua" />
        </telerik:RadSideDrawer.DrawerContent>

        <telerik:RadSideDrawer.MainContent>
            <Grid>
                <Button BackgroundColor="Bisque" Clicked="Button_Clicked" Text="Open Drawer" />
            </Grid>
        </telerik:RadSideDrawer.MainContent>

    </telerik:RadSideDrawer>

</ContentPage.Content>

And the result : 

 

I am testing on Ipad, iOS 17.2. 

Telerik.UI.for.Maui 6.8.0

 

Thanks for the help.

1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 17 May 2024, 06:19 AM

Hi Sébastien,

Thank you for sending the snippet and the screenshot.

The SideDrawer is a native control and the control's look is by design on iOS. We have a feature request in our feedback portal to provide a way to remove the extra space in the drawer at the top and at the bottom, you can follow the feedback item to get notified on status changes here:

SideDrawer: [iOS] Provide an option to remove header and footer area in the Drawer content

I am afraid for the time being there isn't a workaround I can suggest. 

Let me know if I can assist with anything else.

Regards,
Yana
Progress Telerik

A brand new ThemeBuilder course was just added to the Virtual Classroom. The training course was designed to help you get started with ThemeBuilder for styling Telerik and Kendo UI components for your applications. You can check it out at https://learn.telerik.com
Tags
SideDrawer
Asked by
Sébastien
Top achievements
Rank 1
Answers by
Yana
Telerik team
Share this question
or