[Webkit-unassigned] [Bug 86423] Clicking/tapping close to the upper border of the input field moves the cursor to the beginning.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 16 15:00:23 PDT 2012


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





--- Comment #5 from Ryosuke Niwa <rniwa at webkit.org>  2012-05-16 14:59:27 PST ---
(In reply to comment #4)
> I know we consider clicks in space above the first line to be part of the first line.  But maybe we shouldn't for single-line input?  It seems reasonable to disable that behavior in the single-line case.

Yeah, that's what I'm thinking as well. But then we'll have to maintain two different behaviors :(  I know there's some Mac-ism involved here so not sure if we can just change that unilaterally.

I do agree with Ojan that the user expectation will probably vary depending on the amount of padding we have. If we have, say, 100px paddings, then I don't think they'll expect this as a bug.

Maybe we can use some heuristics like do the current behavior if we're more than 20% of line-height away from edges?

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



More information about the webkit-unassigned mailing list