We have build a new webcomponent using Angular v6. Now the problem is when i use the component in a Blank app it works flawlessly but when i use it in a existing app it disrupts the css completely.
The reason i could find is as i am uing bootstrap to build my existing app and also using bootstrap to build that webcomponent it is causing the _ngcontent-* to match for both these components and then bleed to each other. like row.[_ngcontent-c1]
one such example How do we make sure it dosent bleed to each other .
I even manually tried to change the web component js file style from [ngcontent-%COMP%]
to [ngcontent-mine%COMP%]
but nothing works it dosent change even in sources
The sources i debugged are
https://github.com/angular/angular/pull/17745?#issuecomment-385561001 and https://github.com/angular/angular/pull/17745#issuecomment-418658799 ... to help yourself.
Also Looked at Angular Elements - External library's CSS