unoplatform/uno

Invalid binding breaks the dependency property inheritance

Open

#1516 aperta il 10 set 2019

Vedi su GitHub
 (7 commenti) (0 reazioni) (0 assegnatari)C# (837 fork)batch import
difficulty/starter 🚀good first issuehas-repro-branchkind/bugplatform/android 🤖platform/ios 🍎platform/wasm 🌐project/binding 🪢

Metriche repository

Star
 (9789 star)
Metriche merge PR
 (Merge medio 14g 8h) (130 PR mergiate in 30 g)

Descrizione

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

Guida contributor