unoplatform/uno
View on GitHubInvalid binding breaks the dependency property inheritance
Open
#1,516 opened on Sep 10, 2019
difficulty/starter 🚀good first issuehas-repro-branchkind/bugplatform/android 🤖platform/ios 🍎platform/wasm 🌐project/binding 🪢
Repository metrics
- Stars
- (9,789 stars)
- PR merge metrics
- (Avg merge 14d 8h) (130 merged PRs in 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