Skip to content

RoutedEventArgs.OriginalSource is null in button click #1227

Closed

Description

@peternary

Current behavior

When a button's click handler is called RoutedEventArgs.OriginalSource is null

Expected behavior

RoutedEventArgs.OriginalSource should match UWP behavior and be populated.

How to reproduce it (as minimally and precisely as possible)

App12.zip

Click the provided button. In UWP the OriginalSource is non-null, in all other platforms it is null.

Environment

Nuget Package:
Uno.UI
Package Version(s):
1.46.0-dev.2135
Affected platform(s):

  • iOS
  • Android
  • WebAssembly
  • Windows
  • Build tasks

Visual Studio

  • 2017 (version: )
  • 2019 (version: )
  • for Mac (version: )

Relevant plugins

  • Resharper (version: )

Anything else we need to know?

Activity

  1. added
    kind/bug
    triage/untriaged
    on Jul 12, 2019
  2. added
    platform/android 🤖
    platform/ios 🍎
    platform/wasm 🌐
    on Jul 15, 2019
  3. ghuntley commented on Jul 15, 2019

    @ghuntley
    Member

    Thanks for the great repro. I can confirm on iOS, Android and WebAsm when clicking on the button RoutedEventArgs.OriginalSource is null but is not the case on UWP. Investigating...

    uwp

    image

  4. removed
    triage/untriaged
    on Jul 15, 2019
  5. dr1rrb commented on Oct 11, 2019

    @dr1rrb
    Member

    This has been fixed by #1256

    I'm closing the issue, feel free to re-open it if there is any issue.

  6. added a commit that references this issue on Mar 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugplatform/android 🤖platform/ios 🍎platform/wasm 🌐

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions