WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 3 years ago

#29059 closed defect (bug) (fixed)

When adding/editing post/page, the editor header sticks if page is scrolled when a featured image is added or removed.

Reported by: Kelderic Owned by: azaozz
Milestone: 4.0 Priority: normal
Severity: normal Version: 4.0
Component: Editor Keywords:
Focuses: ui Cc:

Description

Steps to reproduce:

  • Go to add a new (or edit existing) page.
  • Add featured image.
  • Scroll the page enough to activate the stickiness of the editor header.
  • Remove featured image.
  • Header will now be stuck too low.

See attached .gif for demonstration.

Attachments (1)

Issue.gif (1.8 MB) - added by Kelderic 3 years ago.

Download all attachments as: .zip

Change History (5)

@Kelderic
3 years ago

This ticket was mentioned in IRC in #wordpress-dev by Clorith. View the logs.


3 years ago

#2 @SergeyBiryukov
3 years ago

  • Milestone changed from Awaiting Review to 4.0

#3 @Kelderic
3 years ago

#29075 was marked as a duplicate.

#4 @azaozz
3 years ago

  • Owner set to azaozz
  • Resolution set to fixed
  • Status changed from new to closed

In 29352:

Editor scrolling: run one more adjust() 200ms after scroll or resize in case the browser is slow to re-calculate the element heights and pin/unpin the toolbars. See #28328, fixes #29059.

Note: See TracTickets for help on using tickets.