Sidebar styling is missing when setting target

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.

2 Replies

UN Unknown Syncfusion Team 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.


DL Deepa Loganathan Syncfusion Team 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. 


Loader.
Up arrow icon