WordPress.org

Make WordPress Core

Opened 4 weeks ago

Last modified 4 weeks ago

#48198 new defect (bug)

Customizer: Can't get out of search view in Menu editor

Reported by: garrett-eclipse Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Customize Keywords: has-screenshots
Focuses: ui, javascript, administration Cc:
PR Number:

Description

Hello,

While testing a patch for customizer I used the search function on the Menu editor. This works and I can add items form it. But I can't leave the menu search and return to the previous view. It persists after you click the X, which just clears the input, and stays there even if you go out of the menu to another menu... I have to reload to return to the normal view.

It would be nice to latch into the X on the search input so when you clear your search it switches views. If users want to search again the input it still present. Maybe along with tieing into the X also just revert views when the input is emptied and only switch to search results when text has been input.

Thanks

Attachments (1)

d0734873cd64b24d6cb94698f1cb31b3.gif (411.1 KB) - added by garrett-eclipse 4 weeks ago.
Illustration of issue, can't get the search view to dismiss unless I reload.

Download all attachments as: .zip

Change History (4)

@garrett-eclipse
4 weeks ago

Illustration of issue, can't get the search view to dismiss unless I reload.

#1 @garrett-eclipse
4 weeks ago

Oo... hmm the loop in my GIF makes it look like you do return to the default view... thats just the gif looping back to the start.

#2 follow-up: @tobifjellner
4 weeks ago

The function of that little "x" seems to simply be to clear the search field, not to close the whole search pane.

#3 in reply to: ↑ 2 @garrett-eclipse
4 weeks ago

Replying to tobifjellner:

The function of that little "x" seems to simply be to clear the search field, not to close the whole search pane.

Thanks @tobifjellner that's what I found as well, it simply dismisses the text but really should revert the view as there's no way currently to get back to the previous view without a reload.

Note: See TracTickets for help on using tickets.