[Webkit-unassigned] [Bug 15932] point-and-click fails to select from the drop-down menus that are presented to Google Code project members whilst editing Google Code issues

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 1 22:18:34 PDT 2008


https://bugs.webkit.org/show_bug.cgi?id=15932





------- Comment #6 from jrobbins at google.com  2008-07-01 22:18 PDT -------
I'm one of the engineers that works on open source project hosting at
code.google.com.  I found some work-arounds for the apparent causes of the
problem. These might be useful details for your project.

First, the problem: an javascript autocomplete menu appears as the user types,
but in Safari 3, clicking on the choices does nothing.  The feature works in FF
and IE.

1. I had been using onmousedown attribute on a <tr>.  That seemed to never get
that event in Safari 3.  The first work-around was to move the onmousedown into
the <td>'s inside that <tr>.

2. With the onmousedown attribute on the <td>s in the first column of the
table, detection of the event seemed unreliable and the text field being typed
in seemed to randomly lose focus.  After looking through the webkit bugzilla, I
found that moving the mouse even a few pixels while clicking triggered the
problem and prevented any further onmousedown's from being detected. The
workaround was to listen for onmouseup instead.

3. Our onmousedown handler had returned false to prevent further processing of
the event which have caused a blur event. With no onmousedown, I have no way to
prevent the blur event.  Rather than use onblur on the <input> where the user
had been typing, I now listen for focus events for every other element on the
page.


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list