-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Closed
Labels
Pillar: Technical DebtPriority:1Work that is critical for the release, but we could probably ship withoutWork that is critical for the release, but we could probably ship withoutarea-blazorIncludes: Blazor, Razor ComponentsIncludes: Blazor, Razor ComponentsbugThis issue describes a behavior which is not expected - a bug.This issue describes a behavior which is not expected - a bug.feature-css-isolationThis issue is related to CSS Isolation featureThis issue is related to CSS Isolation featurefeature-hot-reloadThis issue is related to the Hot Reload feaatureThis issue is related to the Hot Reload feaature
Milestone
Description
Is there an existing issue for this?
- I have searched the existing issues
Describe the bug
Having a library with component and css isolation, everything works fine until hotreload kicks in and remove the stylesheet css isolation from the library component.
On hotreaload, the css file is removed
inspecting the sources, before hotreload we an see how the css is there

but after hotreload the import is gone

this is happening on dev machine and refresh doesn't solve the issue, I need to re-compile the solution.
Expected Behavior
No response
Steps To Reproduce
No response
Exceptions (if any)
No response
.NET Version
No response
Anything else?
No response
MarkusRodler and albi005
Metadata
Metadata
Assignees
Labels
Pillar: Technical DebtPriority:1Work that is critical for the release, but we could probably ship withoutWork that is critical for the release, but we could probably ship withoutarea-blazorIncludes: Blazor, Razor ComponentsIncludes: Blazor, Razor ComponentsbugThis issue describes a behavior which is not expected - a bug.This issue describes a behavior which is not expected - a bug.feature-css-isolationThis issue is related to CSS Isolation featureThis issue is related to CSS Isolation featurefeature-hot-reloadThis issue is related to the Hot Reload feaatureThis issue is related to the Hot Reload feaature