Skip to content

Popup is in wrong namespace, has wrong inheritance #134

Closed

Description

@davidjohnoliver
  • Uno's Popup class is in the Windows.UI.Xaml.Controls namespace, it should be in the Windows.UI.Xaml.Controls.Primitives namespace;
  • It inherits from PopupBase. It should inherit directly from FrameworkElement.

The first is easy to fix (albeit a breaking change), the latter is more involved and requires finding a different way to share code between Popup and PopupBase.

Activity

  1. added
    kind/bug
    on Aug 31, 2018
  2. jeromelaban commented on Apr 1, 2019

    @jeromelaban
    Member

    This can be used a Workaround:

    #if NETFX_CORE
    using Popup = Windows.UI.Xaml.Controls.Primitives.Popup;
    #else
    using Popup = Windows.UI.Xaml.Controls.Popup;
    #endif
  3. added
    project/navigation-lifecycle 🧬
    and removed on Sep 21, 2020
  4. added
    difficulty/tbd
    on Feb 15, 2021
  5. added
    difficulty/challenging 🤯
    and removed
    difficulty/tbd
    on May 24, 2021
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

    difficulty/challenging 🤯kind/bugproject/navigation-lifecycle 🧬

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions