Skip to content

Custom ControlTemplate styling not applied to TextBox subclass in published WASM build #22775

Open

Description

@saadsharif

Current behavior 🐛

In WASM published builds the custom control template styling is not being applied to a subclass of a TextBox.

This is only reproducible in published WASM builds, and works on windows and using dotnet run for the WASM app.

This can be seen with the colour of the last Text item, where its black.

Published WASM build:

Image

Windows/ debug WASM:

Image

Expected behavior 🎯

I expect it to look the same across all version.

How to reproduce it (as minimally and precisely as possible) 🔬

Sample:
UnoWasmApp.zip

Workaround 🛠️

No response

Renderer 🎨

  • Skia
  • Native

Affected platforms 📱💻🖥️

WebAssembly

Uno.Sdk version (and other relevant versions) 📦

6.5.31

It broke in 6.0.130, and is working in 6.0.110 and prior

IDE version 🧑‍💻

Visual Studio 2026 18.3.2

Anything else we need to know? 💬

No response

Activity

  1. added theissue type on Mar 4, 2026
  2. added
    triage/untriaged
    on Mar 4, 2026
  3. github-actions commented on Sep 9, 2026

    @github-actions
    Contributor

    This issue has had no activity for 120 days. It will be closed in 10 days if there is no further activity. Remove the Stale label or leave a comment to keep it open.

  4. added
    stale
    on Sep 9, 2026
  5. github-actions commented on Sep 21, 2026

    @github-actions
    Contributor

    This issue was closed because it had no activity for 10 days after being marked as stale. If you believe this is still relevant, feel free to reopen it or open a new issue with updated context.

  6. Jen-Uno commented on Oct 28, 2026

    @Jen-Uno
    Contributor

    This issue was closed as not planned, so there is nothing for QA to verify. Moving it from Ready for QA Review to Done on the Uno Team Backlog.

  7. removed
    stale
    on Nov 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    triage/untriaged

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions