unoplatform/uno

Invalid binding breaks the dependency property inheritance

Open

#1.516 aberto em 10 de set. de 2019

Ver no GitHub
 (7 comments) (0 reactions) (0 assignees)C# (837 forks)batch import
difficulty/starter 🚀good first issuehas-repro-branchkind/bugplatform/android 🤖platform/ios 🍎platform/wasm 🌐project/binding 🪢

Métricas do repositório

Stars
 (9.789 stars)
Métricas de merge de PR
 (Mesclagem média 14d 8h) (130 fundiu PRs em 30d)

Description

Current behavior

If you write something like:

<ScrollViewer x:Name="PART_ScrollViewer"
    HorizontalScrollBarVisibility="{TemplateBinding ARandomMissingProperty}" />

The horizontal HorizontalScrollBarVisibility will be set toDependencyProperty.UnsetValue.

Expected behavior

HorizontalScrollBarVisibility should still be set to the inherited value.

Environment

Affected platform(s):

  • iOS
  • Android
  • WebAssembly
  • Windows
  • Build tasks

Guia do colaborador