Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#4018 closed defect (bug) (fixed)

New Ticket page on Core Trac scrolls user past notices box

Reported by: rmarks's profile RMarks Owned by: dd32's profile dd32
Milestone: Priority: normal
Component: Trac Keywords: needs-patch


When you browse to Core's New Ticket screen, the page is automatically scrolled down a bit which hides the notices that Trac isn't for support or security vulnerabilities.

Change History (3)

#1 @dd32
5 years ago

  • Keywords needs-patch added

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)

#2 @dd32
5 years ago

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

In 8052:

Trac: Disable the Trac Autofocus feature which scrolls past the new ticket intro which discusses security reporting, etc.

Fixes #4018.

#3 @dd32
5 years ago

In 8053:

Trac: Bump cache busters following r8052.

Fixes #4018.

Note: See TracTickets for help on using tickets.