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 styling is missing when setting target

Thread ID:

Created:

Updated:

Platform:

Replies:

143043 Mar 1,2019 02:49 PM UTC Mar 4,2019 04:34 AM UTC Angular - EJ 2 2
loading
Tags: Sidebar
Unknown
Asked On March 1, 2019 02:49 PM UTC

Hi everyone, I'm trying to set the target on the sidebar and for some reason it removes all styling that I defined. When the page is loading I can quickly see the sidebar with my style then the component loses everything. 

I tried to set it in the tag directly, using a property on the component and even programmaticaly (like described here) but everytime I set the target the same thing happens. Does anyone have seen this?

Thanks in advance.

Unknown
Replied On March 1, 2019 04:01 PM UTC

Sorry end up discovering. The target it's not just a reference it literally moves the component inside the DOM, so since my styles are defined based on a class hierarchy when the target is applied the style doesn't work anymore.

Deepa Loganathan [Syncfusion]
Replied On March 4, 2019 04:34 AM UTC

Hi Joel,  
 
Glad to hear that the issue was resolved.  
 
Please get back to if you would require any further assistance. 
 
Regards,  
Deepa L. 


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