Last modified: 2012-09-27 01:11:11 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T25505, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 23505 - Search bar issues
Search bar issues
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Interface (Other open bugs)
unspecified
Macintosh Mac OS X 10.6
: Normal normal (vote)
: ---
Assigned To: Adam Miller
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-05-13 14:06 UTC by triatrea
Modified: 2012-09-27 01:11 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
The default text won't disappear when the search bar is auto-focussed (21.22 KB, image/png)
2010-05-13 14:06 UTC, triatrea
Details

Description triatrea 2010-05-13 14:06:04 UTC
Created attachment 7368 [details]
The default text won't disappear when the search bar is auto-focussed

I have two small issues with the new search bar of the Vector skin.

The search bar has a default text ("Search") that should hide once the search bar gains focus. This is working properly. My search bar however is focussed automatically once the page finishes loading. Unfortuntely, the default text won't disappear once I start typing and overlaps with the text I enter. The other issue is the alignment of the default text itself. It should be aligned more to the middle, not the bottom.

I tested this with Safari 4, the latest Webkit and Chrome 5 on Mac OS X 10.6. I'll add a screenshot for clarification.
Comment 1 Adam Miller 2010-05-13 15:09:54 UTC
I'm guessing the event handler is bound to click instead of focus. Should be an easy fix. I'll try to get to it today.
Comment 2 Adam Miller 2010-06-02 19:55:46 UTC
I added a keypress handler to try to catch this case and clear the message once you start typing. See r67236.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links