We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Sidebar Target broken in 16.2.41?

Thread ID:

Created:

Updated:

Platform:

Replies:

138497 Jul 3,2018 11:26 AM UTC Jul 4,2018 02:50 PM UTC Angular - EJ 2 2
loading
Tags: Sidebar
Christian Hvid
Asked On July 3, 2018 11:26 AM UTC

It seems like the Target property of the Sidebar component is ignored in the 16.2.41 release. Sidebars are always full height, regardless of the target setting. Even your own demo appears to be broken: https://ej2.syncfusion.com/angular/documentation/sidebar/custom-context.html. The only work around I can find is to embed the Sidebar inside the target element, and then add the e-main-content class to the enclosing element. But this trick doesn't work too well with a docking sidebar. 

Christian Hvid
Replied On July 3, 2018 11:49 AM UTC

I turned out that a working solution is to set the Target property by element rather than id or class, as in: 

this.sidebar.target = document.getElementById('foobar');

So no big deal, but worth looking into for the next release perhaps.


Prem Kumar Madhan Raj [Syncfusion]
Replied On July 4, 2018 02:50 PM UTC

Hi Christian,  

Thanks for contacting Syncfusion Support. 
 
Since we have provided support for class and id selectors to the target property of the Sidebar component from the last release version (16.2.41), we need to specify the value for the target property with the selector prefixed ( . (dot) for class selector or # (hash) for id). To know more about these changes, please check the below link. 
 
 
Also, we will update these changes in our online documentation samples and refresh it as soon as possible at our end. Please be patience until then. 
 
Regards, 
 
Prem Kumar M 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon