Open
Bug 560968
Opened 15 years ago
Updated 3 years ago
Support elastic scollboxes (touch screens)
Categories
(Toolkit :: UI Widgets, defect)
Toolkit
UI Widgets
Tracking
()
NEW
People
(Reporter: mfinkle, Unassigned)
References
Details
(Keywords: mobile)
Attachments
(1 file, 1 obsolete file)
12.82 KB,
patch
|
Details | Diff | Splinter Review |
In mobile and other touch screen software, scrolling is usually done using touch panning. It is typical for such panning to appear to "over-scroll" when reaching the beginning or end of the scrollable region.
We should add a mode to the scrollbox widget to support this elastic, over-scroll behavior.
Updated•15 years ago
|
OS: Mac OS X → All
Hardware: x86 → All
Updated•15 years ago
|
Assignee: nobody → mbrubeck
Comment 1•15 years ago
|
||
Not production-ready code - just a quick proof of concept I'm using for prototyping.
Comment 2•15 years ago
|
||
Split out the new code into a self-contained XBL binding. Known issues:
* Only works for horizontal scrolling; need to change this to work for vertical scrolling too, maybe depending on the "orient" attribute. (For Fennec at least, we have separate vertical and horizontal scrollboxes so we don't need a single control to do both at once.)
* Having to specify an explicit margin size is ugly. The margins should be auto-sized based on the content size.
* Snap-back should be animated (but allow animation to be disabled if necessary for performance).
Mark, any thoughts on the API you would like to see for the elastic scrollbox control? This is the first significant amount of XBL I have written, so I appreciate any pointers.
Attachment #444994 -
Flags: feedback?(mark.finkle)
Updated•15 years ago
|
Attachment #444895 -
Attachment is obsolete: true
Updated•15 years ago
|
Attachment #444994 -
Flags: feedback?(mark.finkle)
Updated•14 years ago
|
Assignee: mbrubeck → nobody
Version: unspecified → Trunk
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•