WordPress.org

Make WordPress Core

Opened 2 years ago

Closed 2 years ago

#19172 closed defect (bug) (fixed)

Open help tab lags if screen options was opened before

Reported by: ocean90 Owned by: azaozz
Milestone: 3.3 Priority: normal
Severity: normal Version: 3.3
Component: UI Keywords: needs-patch
Focuses: Cc:

Description

Originally reported by duck_ in IRC:

duck_: has anyone else noticed the lag if you open Screen Options, close it and then open Help?

MarkJaquith: duck_: yeah, I see a very slight hiccup there (Chrome)


Removing screenMeta.refresh(); removes the lag.

Change History (3)

comment:1 follow-up: nacin2 years ago

We need something there, otherwise the bug that was fixed by [19045] would return.

Basically, if there is a greater vertical height of the help tabs than the content in the initial tab, the white background doesn't extend to the bottom.

comment:2 in reply to: ↑ 1 azaozz2 years ago

Replying to nacin:

Yes, screenMeta.refresh(); is a JS "hack" to fix a css deficiency. There's no reason for it to draw so much CPU cycles, will look into it.

Version 0, edited 2 years ago by azaozz (next)

comment:3 azaozz2 years ago

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

In [19186]:

Fix lag when opening help tab if screen options was opened before, fixes #19172

Note: See TracTickets for help on using tickets.