[wp-trac] [WordPress Trac] #25963: Appearance Themes: Backbone.Router should use pushState with ?query type urls

WordPress Trac noreply at wordpress.org
Thu Dec 5 20:58:09 UTC 2013


#25963: Appearance Themes: Backbone.Router should use pushState with ?query type
urls
-------------------------+--------------------
 Reporter:  matveb       |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  high         |   Milestone:  3.8
Component:  Appearance   |     Version:  trunk
 Severity:  major        |  Resolution:
 Keywords:               |
-------------------------+--------------------

Comment (by kovshenin):

 [attachment:25963.8.diff​] deals with the keyboard navigation lag.

 The issue occurs inside `themes.view.Details.navigation()` which gets
 fired during `.render()` meaning a new keyup event is attached to body
 every time the details view is rendered. After a while this becomes very
 laggy. The patch moves the event binding to
 `themes.view.Themes.initialize()` instead, and calls the overlay methods
 directly, which then trigger the appropriate events.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25963#comment:19>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list