Bug 109528 - Fix keyboard scrolling in suggestionpicker
Summary: Fix keyboard scrolling in suggestionpicker
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-11 17:43 PST by Emil A Eklund
Modified: 2013-02-15 09:28 PST (History)
2 users (show)

See Also:


Attachments
WIP, do not review (4.76 KB, patch)
2013-02-11 18:51 PST, Emil A Eklund
no flags Details | Formatted Diff | Diff
Patch (7.51 KB, patch)
2013-02-12 14:47 PST, Emil A Eklund
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Emil A Eklund 2013-02-11 17:43:47 PST
The keyboard scrolling behavior in suggestion pickle depends on the scroll-to-reveal logic and often results in undesired scroll positions (especially when using pg up/down). Furthermore it doesn't support Home/End nor does it work the same way as keyboard scrolling in native controls or listboxes.
Comment 1 Emil A Eklund 2013-02-11 18:51:47 PST
Created attachment 187750 [details]
WIP, do not review
Comment 2 Emil A Eklund 2013-02-12 14:47:46 PST
Created attachment 187941 [details]
Patch
Comment 3 Keishi Hattori 2013-02-15 04:14:26 PST
Thanks for fixing this. I didn't know it was wrong.
Comment 4 Emil A Eklund 2013-02-15 09:28:51 PST
(In reply to comment #3)
> Thanks for fixing this. I didn't know it was wrong.

It is quite tricky to get right and I still have one more edge case I want to fix before uploading a real patch for review. We really should fix this in the web platform at some point...