Skip to content

Popover: refactor all usages of the legacy position prop to the placement prop #44401

Closed

Description

@ciampo

After #40740, there are two different props in the Popover component to affect is position: position (legacy) and placement (new)

In order to deprecate the legacy position prop from the Popover component, we should first migrate all current usages to the new placement prop:

Activity

  1. changed the title [-]Refactor all consumers to use the new prop[/-] [+]Popover: refactor all usages of the legacy `position` prop to the `placement` prop[/+] on Sep 22, 2022
  2. added
    [Type] Overview
    on Aug 3, 2023
  3. annezazu commented on Mar 21, 2024

    @annezazu
    Contributor

    It looks like the majority of work planned here has been completed. Closing this out as a result but happy to reopen if that's incorrect!

  4. ciampo commented on Jul 19, 2024

    @ciampo
    ContributorAuthor

    @annezazu I think the issue could still be relevant, I'd love to get to complete the missing tasks if possible. Let's keep it open for now, and see if we can get to (at least) some of those

  5. reopened this on Jul 19, 2024
  6. moved this to In progress (owned) ⏳ in WordPress Componentson Aug 26, 2024
  7. ciampo commented on Sep 3, 2026

    @ciampo
    ContributorAuthor

    Closing as mostly completed. Our efforts are now aimed at the new @wordpress/ui package which aims to replace legacy Popover usage, too.

  8. moved this from In progress (owned) ⏳ to Done 🎉 in WordPress Componentson Sep 3, 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

    [Package] Components[Type] Overview

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions