1
ScrollView Change History
2
=========================
7
* Allow scrollbar to work with non-px width scrollviews
8
* Added mousewheel support (#2529136)
13
* Fixed incorrect scroll width/height calculations to account for
14
translate (for real this time) on Chrome, and now Safari.
16
translateZ applied for h/w acceleration was resulting in the incorrect
19
* Removed fallback to cb.scrollWidth/Height, when determining scroll dimensions.
20
This was masking the real problem with translate impacting boundingBox scroll
21
width/height calcs mentioned above.
23
* Fixed scrollbar racing ahead of scroll position on FF 5+ with native transition
26
* Added ability to disable scrollview completely, disable flick or disable drag
28
// Stops SV from moving through flick/drag or the API.
29
sv.set("disabled", true);
31
// Stops SV from reacting to flick. Can still drag/scroll through API
32
sv.set("flick", false);
34
// Stops SV from reacting to drag. Can still flick, scroll through API
35
sv.set("drag", false);
37
* Resync UI on scrollview-list class application.
42
* Fixed _uiDimensionsChange code which was looking explicitly for
43
the "width" attribute. Just plain wrong.
45
* Added vertical paging support.
47
* Removed DOMSubtreeModified event listening which was only really kicking
48
in for Webkit and was too heavy handed. User now needs to call syncUI()
49
manually on all browsers, if the content of the scrollview is changed,
50
and may potentially result in dimension changes.
52
* Broke out use of transform3d into a seperate method, and added a protected
53
flag, _forceHWTransforms, to allow for customization if required
54
(H/W acceleration related glitches or changing the set of browsers for
55
which we attempt to force it).
57
* Created Scrollview-List plugin to provide out-of-the-box handling of
58
List (LI) content inside horizontal and vertical ScrollViews.
60
* Fixed incorrect scroll width/height calculations on Chrome 9+, FF
61
when syncUI() [ or _uiDimensionsChange() ] was called when the ScrollView
64
* Protected state flags are now reset if _uiDimensionsChange results in
67
* Use the larger of bb.scrollWidth/Height or cb.scrollWidth/Height, to calculate
68
scroll dimensions to account for FF (which clips cb.scrollWidth) and
69
Chrome/MacOS (which clips bb.scrollWidth when translated even after
70
incorrect scroll calcs above).
75
* Fixed shared scrollbar node across multiple instances.
77
* Changed async call to _uiDimensionsChange after render, to a sync call.
79
* Corrected skin prefix to be yui3-skin-sam instead yui-skin-sam.
81
* Refactored for kweight, and broke out scrollview-base-ie conditional module.
83
* Don't prevent default on gesturemoveend, so that click listeners on
84
elements inside the scrollview respond reliably. Panning is still prevented
85
by preventing gesturemousemove.
87
* Removed generic CSS in scrollview-base.css targeting UL/LI content. The
88
rules were added to support the common use case, but were too broad, and in
89
general, scrollview is content agnostic.
91
* The same support can be achieved by adding cssreset to the page (to remove
92
LI bullets, padding, margin), and adding inline block rules, when providing
93
horizontal scrollview content as a list. These rules are provided below:
95
/* To layout horizontal LIs */
96
#my-horiz-scrollview-content li {
97
display: inline-block;
102
/* For IE - needs a non-transparent background to pick up events */
103
#my-scrollview-content li {
105
background-color:#fff;
108
* Added prefix-less border radius scrollbar styles for IE9.
110
* Made scrollbar-paginator skinnable:false. It has no CSS which is applied,
111
out of the box currently. The paginator CSS shipped in 3.2.0, was not actively