[wp-trac] [WordPress Trac] #42348: Themes search: reintroduce the debounced search

WordPress Trac noreply at wordpress.org
Thu Oct 26 18:03:35 UTC 2017


#42348: Themes search: reintroduce the debounced search
--------------------------+--------------------------------------------
 Reporter:  afercia       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.9
Component:  Customize     |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:  ui, accessibility, javascript
--------------------------+--------------------------------------------
Changes (by westonruter):

 * keywords:  needs-testing needs-patch => needs-patch


Comment:

 With [attachment:42348.diff] the “flash of unsearched content” returns.
 See demo: https://youtu.be/YA49Ve8Ium0 (at 10 seconds)

 To reproduce:

 0. Go to Installed Themes.
 1. Search for “fifteen”.
 2. Click “Live Preview”.
 3. Close the Customizer.
 4. Notice all themes are shown for 500ms and then the list is updated to
 only show Twenty Seventeen again.

 So that needs to be avoided, while also ensuring that the searches are
 debounced.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/42348#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list