79811343

Date: 2025-11-06 13:51:13
Score: 0.5
Natty:
Report link

Okay, I know this is stupid, but add a <div> </div> around your component html inside of your component you want your isolated css applied to.


<div>
//Existing razor component html
</div>

It seems to fix the isolation issue... It honestly doesn't make too much sense to me but it is what it is:
https://github.com/dotnet/aspnetcore/issues/29409

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: misterbee180