Skip to:
Content

BuddyPress.org

Opened 5 years ago

Closed 4 years ago

Last modified 3 years ago

#6414 closed enhancement (fixed)

Add 'active' class on focus to whats-new-content element

Reported by: hnla Owned by: boonebgorges
Milestone: 2.4 Priority: low
Severity: minor Version:
Component: Core Keywords: has-patch
Cc:

Description

This follows on from #6122.

I would still like to have a means of identifying when the whats-new form is in an active state - textarea has focus - to aid in wrestling with some of the issues with the form and it's elements.

Patch simply adds the class 'active' on focus to the parent 'whats-new-content' element to allow targeting all the child elements using the existing focus function and removes on blur.

This addition will make overriding and updating in the companion styles a little easier.

Attachments (1)

6414.01.patch (654 bytes) - added by hnla 5 years ago.

Download all attachments as: .zip

Change History (5)

@hnla
5 years ago

#1 @DJPaul
5 years ago

  • Milestone changed from Awaiting Review to 2.4

Looks OK.

This ticket was mentioned in Slack in #buddypress by hnla. View the logs.


5 years ago

#3 @boonebgorges
4 years ago

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

In 9998:

Toggle the 'active' class on the What's New input box when it's expanded.

Props hnla.
Fixes #6414.

#4 @DJPaul
3 years ago

  • Component changed from API to Core
Note: See TracTickets for help on using tickets.