unoplatform/uno

Invalid binding breaks the dependency property inheritance

Open

#1,516 建立於 2019年9月10日

在 GitHub 查看
 (7 留言) (0 反應) (0 負責人)C# (837 fork)batch import
difficulty/starter 🚀good first issuehas-repro-branchkind/bugplatform/android 🤖platform/ios 🍎platform/wasm 🌐project/binding 🪢

倉庫指標

Star
 (9,789 star)
PR 合併指標
 (平均合併 14天 8小時) (30 天內合併 130 個 PR)

描述

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

貢獻者指南