[wp-meta] [Making WordPress.org] #4018: New Ticket page on Core Trac scrolls user past notices box

Making WordPress.org noreply at wordpress.org
Thu Dec 20 04:21:36 UTC 2018


#4018: New Ticket page on Core Trac scrolls user past notices box
-------------------------+---------------------
 Reporter:  RMarks       |       Owner:  (none)
     Type:  defect       |      Status:  new
 Priority:  normal       |   Milestone:
Component:  Trac         |  Resolution:
 Keywords:  needs-patch  |
-------------------------+---------------------
Changes (by dd32):

 * keywords:   => needs-patch


Comment:

 This is being caused by `$(".trac-autofocus").focus();` which focuses the
 title field, which if it's below the fold, will scroll the page to it.

 It looks like that JS comes directly from Trac, and isn't present in our
 templates.

 We could probably use a `<py:match path="...." py:strip="" />` or
 something to strip the `trac-autofocus` class out of the HTML..
 (I'm going to have leave this for someone with more Trac customisation
 experience unfortunately)

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/4018#comment:1>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list