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

贡献者指南