This repository was archived by the owner on Jul 11, 2025. It is now read-only.

Description
When running the RideTheComet app generated with the Comet template the label disappears after clicking the button.
Before clicking the button:

After clicking the button:

(also seems a problem with the rendering after resizing the window, see issue: #267)
I'm using version 0.3.464-beta with Visual Studio 17.3.0 Preview 4.0
Way to reproduce:
- dotnet new --install Clancey.Comet.Templates.Multiplatform::0.4.344-beta
- dotnet new comet -n RideTheComet
- Run project in Visual Studio
- Click button
Workaround:
Somehow it works to change the line:
new Button("Ride the Comet! ☄️", ()=>{
to:
new Button("Ride the Comet! ☄️" + comet.CometTrain, ()=>{
Somehow this forces the update and shows the label again.
As it also fixes the rendering problem, I get the impression that the label is somehow hidden through rendering problems as mentioned in #267