You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When binding to $self or to a named element (e.g #MyButton), the binding system emits a log message saying that "Value is null". In our real application, we have an ItemsControl which leads to hundreds of these messages being emitted, noticeably affecting performance.
TomEdwardsEnscape
changed the title
"Value is null" error spam when binding to a named element
"Value is null" error spam when binding to an element
Apr 29, 2024
Describe the bug
When binding to
$self
or to a named element (e.g#MyButton
), the binding system emits a log message saying that "Value is null". In our real application, we have anItemsControl
which leads to hundreds of these messages being emitted, noticeably affecting performance.The binding works fine though.
To Reproduce
Add this XAML to any window and compile:
This will appear in the log output:
Expected behavior
No error messages
Avalonia version
11.1.0-beta2
OS
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: