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