Page MenuHomePhabricator

In Chrome-like browsers, TextInputWidget( { type: 'search' } ) has a curious mix of native and our UI
Closed, ResolvedPublic

Description

In Chrome-like browsers, TextInputWidget( { type: 'search' } ) has a curious mix of native and our UI.

http://en.wikipedia.beta.wmflabs.org/wiki/Special:Search:

pasted_file (39×706 px, 2 KB)

http://en.wikipedia.beta.wmflabs.org/wiki/Special:Search?useskin=monobook:
pasted_file (50×651 px, 2 KB)

The "x" image on the right is provided by the browser, and empties the text field when clicked (but isn't focusable). We should probably suppress it and replace it with an indicator of our own with the same functionality.

(This widget also has icon: 'search', which should maybe also be implied by type: 'search'?)

Event Timeline

matmarex raised the priority of this task from to Needs Triage.
matmarex updated the task description. (Show Details)
matmarex added a project: OOUI.
matmarex subscribed.

Change 225252 had a related patch set uploaded (by Bartosz Dziewoński):
Add 'clear' indicator

https://gerrit.wikimedia.org/r/225252

Change 225252 merged by jenkins-bot:
MediaWiki, Apex themes: Add 'clear' indicator

https://gerrit.wikimedia.org/r/225252

Jdforrester-WMF triaged this task as Medium priority.
Jdforrester-WMF removed a project: Patch-For-Review.
Jdforrester-WMF set Security to None.

Icon now exists, but suppression of the native behaviour not done in that patch.

matmarex lowered the priority of this task from Medium to Low.Jul 20 2015, 7:25 PM

Change 226069 had a related patch set uploaded (by Bartosz Dziewoński):
TextInputWidget: Handle type: 'search' better

https://gerrit.wikimedia.org/r/226069

Change 226069 merged by jenkins-bot:
TextInputWidget: Handle type: 'search' better

https://gerrit.wikimedia.org/r/226069