Skip to content

Post Publishing Popover: Popover moves when certain dates are clicked #29899

Closed

Description

@allilevine

Description

We recently made a change ( #29738 ) to keep the post publish popover open when a date is clicked. When the date is clicked, however, and the date length changes, the popover changes position.

Step-by-step reproduction instructions

1. Create a new post
2. Open the schedule popover by clicking on the publish date
3. Click on a date in the picker that has a different day length than the current date (e.g. two digits instead of one or vice versa).

Expected behaviour

The popover position doesn't change.

Actual behaviour

The popover position changes.

Screenshots or screen recording (optional)

Gif of the popover moving when some dates are clicked:
datetimepickerstaysopen

Code snippet (optional)

WordPress information

  • WordPress version:
  • Gutenberg version:
  • Are all plugins except Gutenberg deactivated?
  • Are you using a default theme (e.g. Twenty Twenty-One)?

Device information

  • Device:
  • Operating system:
  • Browser:

Activity

  1. added
    [Feature] Saving
    [Type] Bug
    on Mar 26, 2021
  2. added
    [Status] In Progress
    on Mar 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

[Feature] Saving[Status] In Progress[Type] Bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions