BuildRenderTree does not get called in Preview 4 #9857
Labels
area-blazor
Includes: Blazor, Razor Components
✔️ Resolution: By Design
Resolved because the behavior in this issue is the intended design.
Describe the bug
I've added a simple component which overrides
BuildRenderTree
and attempts to wrap ChildContent in a simple<div>
. I've more complex logic in a real-world usage, but this simple test demonstrates the issue.I'm wondering if this is related to the ix for #8192
To Reproduce
See reproducible demo here:
https://github.com/DerekChasse/BuildRenderTree
Index.razor has a
<p>
tag which should, as part of rendering theTestComponent
, be wrapped in a<div>
and that<div>
should have a GUID identifier as a simple test ofAddAttribute
.Expected behavior
I would expect that, as in preview 0.9.0 calls to the overridden
BuildRenderTree
be honored.Screenshots
Additional context
There is also simple logging with
Console.Writeline
in theBaseIndex
baseclass which was previously honored in and is no longer being called.Visual Studio
16.1.0 Preview 2.0
dotnet
3.0.100-preview4-011223
The text was updated successfully, but these errors were encountered: