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

View update not working on windows #268

@TitusRie

Description

@TitusRie

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

Before clicking the button:
afbeelding

After clicking the button:
afbeelding

(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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions