-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Closed
Labels
Description
Describe the bug
When calling a referenced component's functions, the UI isn't being updated.
To Reproduce
- Using latest ASP .NET Core
Steps to reproduce the behavior:
- Reference a component using
@ref
- Call component member function which modifies the DOM
I made a fiddle that can be used to view this issue https://blazorfiddle.com/s/zkmpjypw
Clicking 'Show from component scope' button works just fine but clicking 'Show using ref' doesn't make the alert show.
If running in the debugger, you'll see that the component's function is called and the variables change but the DOM element is unchanged.
Expected behavior
DOM should reflect changes from @ref
'd calls