I have a child component called Earth as follows.
<button @onclick="Toggle">
@if (isMoving)
{
<text>Stop Spinning</text>
}
else
{
<text>Start Spinning</text>
}
</button>
@code {
private bool isMoving = true;
private void Toggle()
{
isMoving = !isMoving;
Console.WriteLine(DateTime.Now);
}
}
It is consumed in a parent routable component named Index as follows.
@page "/"
<Earth />
Running on Chrome version 84 I got a strange result as follows.

However, there is no problem on Microsoft Edge version 84.
Feel free to close this issue if it is irrelevant here. Thank you!
The minimal project to reproduce the problem can be found in my repository as follows. Note that most people cannot reproduce this issue. I don't know why.
https://github.com/pstricks-fans/ChromeIssue

Thank you for filing this issue. In order for us to investigate this issue, please provide a minimalistic repro project (ideally a GitHub repo) that illustrates the problem.
@mkArtakMSFT : A link to the requested minimal project to reproduce the issue has been added. Thank you.
Thanks for contacting us.
We're moving this issue to the Next sprint planning milestone for future evaluation / consideration. We will evaluate the request when we are planning the work for the next milestone. To learn more about what to expect next and how this issue will be handled you can read more about our triage process here.
@pstricks-fans I tried your app on Chrome 85.0.4 and it no longer reproduces. Feel free to reopen this if you continue seeing this with the updated browser.