Hi Manish,
Thanks for Contacting Syncfusion support.
We were able to reproduce the reported issue with NavigationDrawer and the it will be will be resolved in the next service pack volume release (Volume 2 SP1).
Untill that we suggest you to use any one of following method to achieve your requirement.
Method 1:
Use width for the listview content from”auto” to “100%”. Please find the code sample below.
Code example:
Method 1:
<style>
#list .e-content{
width:100% !important;
}
</style>
|
Method 2:
@Html.EJ().NavigationDrawer("navpane").Direction(NavigationDrawerDirection.Right).Type(NavigationDrawerType.Overlay).EnableListView(true).TargetId("butdrawer").ContentId("content_container").ListViewSettings(settings =>
{
settings.Width(300).SelectedItemIndex(0).ShowHeader(false).ClientSideEvents(events => { events.MouseUp("headChange"); }).PersistSelection(true);
}).ContentTemplate(@<ul>
<li data-ej-imageurl="../Images/navigationdrawer/home.png" data-ej-text="Home" data-ej-rel='nofollow' href="#home"
id="navhome"></li>
<li data-ej-imageurl="../Images/navigationdrawer/people.png" data-ej-text="People" data-ej-rel='nofollow' href="#people"
id="navpeople"></li>
<li data-ej-imageurl="../Images/navigationdrawer/profile.png" data-ej-text="Profile" data-ej-rel='nofollow' href="#profile"
id="navprofile"></li>
<li data-ej-imageurl="../Images/navigationdrawer/photo.png" data-ej-text="Photos" data-ej-rel='nofollow' href="#photos"
id="navphotos"></li>
<li data-ej-imageurl="../Images/navigationdrawer/communities.png" data-ej-text="Communities" data-ej-rel='nofollow' href="#communities"
id="navcommunities"></li>
<li data-ej-imageurl="../Images/navigationdrawer/locations.png" data-ej-text="Location" data-ej-rel='nofollow' href="#location"
id="navlocation"></li>
</ul>)
|
Use unobtrusive way to render Navigation drawer.
Regards,
Narayanasamy P.