WordPress.org

Making WordPress.org

Opened 5 years ago

Closed 4 years ago

#769 closed enhancement (fixed)

Make the search toggle smoother

Reported by: Clorith Owned by: coffee2code
Milestone: Priority: normal
Component: Developer Hub Keywords: good-first-bug has-patch needs-testing
Cc:

Description

The in-doc search box is toggle-able right now, but it just jumps out.

We should make it a bit smoother by using $.slideToggle() instead of just $.toggle() (We could achieve this with CSS as well, but using jQuery seems like a safer bet to ensure it works for those who don't have transition support).

Attachments (1)

769.diff (489 bytes) - added by chaselivingston 4 years ago.

Download all attachments as: .zip

Change History (4)

#1 @melchoyce
4 years ago

  • Keywords good-first-bug added

@chaselivingston
4 years ago

#2 @chaselivingston
4 years ago

  • Keywords has-patch needs-testing added

#3 @coffee2code
4 years ago

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

In 1492:

developer.wordpress.org: Use .slideToggle() instead of .toggle() to handle search bar view/hide transitions.

Fixes #769.
Props Clorith, chaselivingston.

Note: See TracTickets for help on using tickets.