unoplatform/uno

Invalid binding breaks the dependency property inheritance

Open

#1 516 ouverte le 10 sept. 2019

Voir sur GitHub
 (7 commentaires) (0 réactions) (0 assignés)C# (837 forks)batch import
difficulty/starter 🚀good first issuehas-repro-branchkind/bugplatform/android 🤖platform/ios 🍎platform/wasm 🌐project/binding 🪢

Métriques du dépôt

Stars
 (9 789 stars)
Métriques de merge PR
 (Merge moyen 14j 8h) (130 PRs mergées en 30 j)

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

Guide contributeur