|
525
|
1 |
ScrollView Change History |
|
|
2 |
========================= |
|
|
3 |
|
|
|
4 |
3.10.3 |
|
|
5 |
------ |
|
|
6 |
|
|
|
7 |
* No changes. |
|
|
8 |
|
|
|
9 |
3.10.2 |
|
|
10 |
----- |
|
|
11 |
|
|
|
12 |
* Paginator API methods now respect the widget's `disabled` ATTR |
|
|
13 |
|
|
|
14 |
3.10.1 |
|
|
15 |
------ |
|
|
16 |
|
|
|
17 |
* No changes. |
|
|
18 |
|
|
|
19 |
3.10.0 |
|
|
20 |
------ |
|
|
21 |
|
|
|
22 |
* No changes. |
|
|
23 |
|
|
|
24 |
3.9.1 |
|
|
25 |
----- |
|
|
26 |
|
|
|
27 |
* No changes. |
|
|
28 |
|
|
|
29 |
3.9.0 |
|
|
30 |
----- |
|
|
31 |
|
|
|
32 |
* Improved accuracy of 'scrollEnd' event. (#2533030 & #2532323) |
|
|
33 |
|
|
|
34 |
* Scrollbars now accurately represent the current offset within a dual-axis paginated instance. (#2532751) |
|
|
35 |
|
|
|
36 |
* Paginator now blocks flick events on disabled instances. (#2533078) |
|
|
37 |
|
|
|
38 |
* Paginator now prevents the host's flick listener from being executed (it should only listen for gesturemove events), as opposed to unbinding the listener. (SHA 42885f5) |
|
|
39 |
|
|
|
40 |
3.8.1 |
|
|
41 |
----- |
|
|
42 |
|
|
|
43 |
* Linting cleanup. |
|
|
44 |
|
|
|
45 |
* Improvements to ScrollView's unit tests. PR #361 |
|
|
46 |
|
|
|
47 |
3.8.0 |
|
|
48 |
----- |
|
|
49 |
|
|
|
50 |
* Paging is now only triggered when a swipe crosses a mid-point threshold, to match the < 3.7.0 behavior (#2532745) |
|
|
51 |
|
|
|
52 |
* Fixed issue where Mousewheel could prevent next()/prev() API interaction on horizontally paginated instances (#2532815) |
|
|
53 |
|
|
|
54 |
* scrollToIndex now sets correct default value for easing (#2532895) |
|
|
55 |
|
|
|
56 |
* ScrollViewPaginator#scrollToIndex now properly respects animation duration and easing arguments (thanks juandopazo) |
|
|
57 |
|
|
|
58 |
* General cleanup |
|
|
59 |
|
|
|
60 |
3.7.3 |
|
|
61 |
----- |
|
|
62 |
|
|
|
63 |
* No changes. |
|
|
64 |
|
|
|
65 |
3.7.2 |
|
|
66 |
----- |
|
|
67 |
|
|
|
68 |
* No changes. |
|
|
69 |
|
|
|
70 |
3.7.1 |
|
|
71 |
----- |
|
|
72 |
|
|
|
73 |
* No changes. |
|
|
74 |
|
|
|
75 |
3.7.0 |
|
|
76 |
----- |
|
|
77 |
|
|
|
78 |
* Added Forced-Axis and Dual-Axis Support. ScrollView now has an (optional) `axis` |
|
|
79 |
property that can be declared with values: `x`, `y`, or `xy`. (#2532631) |
|
|
80 |
|
|
|
81 |
* Added: Initial support for RTL (Right-To-Left) layouts (#2531874). |
|
|
82 |
|
|
|
83 |
* Added: Unit test coverage for scrollview-base and scrollview-paginator (#2532288, #2532287) |
|
|
84 |
|
|
|
85 |
* Moved: Paginator’s scrollTo() method has been deprecated and replaced with scrollToIndex. (##2530145) |
|
|
86 |
|
|
|
87 |
* Moved the following ScrollView static properties (now deprecated) to instance attributes for more control |
|
|
88 |
SNAP_DURATION to 'snapDuration' |
|
|
89 |
SNAP_EASING to 'snapEasing' |
|
|
90 |
EASING to 'easing' |
|
|
91 |
FRAME_STEP to 'frameDuration' |
|
|
92 |
BOUNCE_RANGE to 'bounceRange' |
|
|
93 |
|
|
|
94 |
* Fix: Mousewheel events on a horizontally scrolling instance no longer prevent page scrolling (#2532739) |
|
|
95 |
|
|
|
96 |
* Fix: Mousewheel events now properly update the `scrollY` attribute. |
|
|
97 |
|
|
|
98 |
* Fix: Improved reliability of the scrollEnd event. Now it now only fires |
|
|
99 |
once per scrolling sequence, instead of sometimes twice. |
|
|
100 |
|
|
|
101 |
* Fix: Resolved issue where multiple listeners could sometimes be added for drag and flick events. |
|
|
102 |
|
|
|
103 |
* Fix: Improved gesture event detachment |
|
|
104 |
|
|
|
105 |
* Fix: Refactored _flickFrame to do less attribute lookups, helpful for performance reasons |
|
|
106 |
|
|
|
107 |
* Fix: Resolved issue where scrollview.pages.scrollTo may not actually scroll to the desired page, or may cause a lock-up of the widget. |
|
|
108 |
|
|
|
109 |
3.6.0 |
|
|
110 |
----- |
|
|
111 |
|
|
|
112 |
* Fixed issue with mousewheel not working when multiple scrollviews are present (#2532377) |
|
|
113 |
|
|
|
114 |
3.5.1 |
|
|
115 |
----- |
|
|
116 |
|
|
|
117 |
* Fixed issue with scrollview capturing all mousewheel events on a page (#2532214) |
|
|
118 |
|
|
|
119 |
3.5.0 |
|
|
120 |
----- |
|
|
121 |
|
|
|
122 |
* Allow scrollbar to work with non-px width scrollviews |
|
|
123 |
|
|
|
124 |
* Added mousewheel support (#2529136) |
|
|
125 |
|
|
|
126 |
3.4.1 |
|
|
127 |
----- |
|
|
128 |
|
|
|
129 |
* Fixed incorrect scroll width/height calculations to account for |
|
|
130 |
translate (for real this time) on Chrome, and now Safari. |
|
|
131 |
|
|
|
132 |
translateZ applied for h/w acceleration was resulting in the incorrect |
|
|
133 |
scroll values. |
|
|
134 |
|
|
|
135 |
* Removed fallback to cb.scrollWidth/Height, when determining scroll dimensions. |
|
|
136 |
This was masking the real problem with translate impacting boundingBox scroll |
|
|
137 |
width/height calcs mentioned above. |
|
|
138 |
|
|
|
139 |
* Fixed scrollbar racing ahead of scroll position on FF 5+ with native transition |
|
|
140 |
support enabled. |
|
|
141 |
|
|
|
142 |
* Added ability to disable scrollview completely, disable flick or disable drag |
|
|
143 |
|
|
|
144 |
// Stops SV from moving through flick/drag or the API. |
|
|
145 |
sv.set("disabled", true); |
|
|
146 |
|
|
|
147 |
// Stops SV from reacting to flick. Can still drag/scroll through API |
|
|
148 |
sv.set("flick", false); |
|
|
149 |
|
|
|
150 |
// Stops SV from reacting to drag. Can still flick, scroll through API |
|
|
151 |
sv.set("drag", false); |
|
|
152 |
|
|
|
153 |
* Resync UI on scrollview-list class application. |
|
|
154 |
|
|
|
155 |
3.4.0 |
|
|
156 |
----- |
|
|
157 |
|
|
|
158 |
* Fixed _uiDimensionsChange code which was looking explicitly for |
|
|
159 |
the "width" attribute. Just plain wrong. |
|
|
160 |
|
|
|
161 |
* Added vertical paging support. |
|
|
162 |
|
|
|
163 |
* Removed DOMSubtreeModified event listening which was only really kicking |
|
|
164 |
in for Webkit and was too heavy handed. User now needs to call syncUI() |
|
|
165 |
manually on all browsers, if the content of the scrollview is changed, |
|
|
166 |
and may potentially result in dimension changes. |
|
|
167 |
|
|
|
168 |
* Broke out use of transform3d into a seperate method, and added a protected |
|
|
169 |
flag, _forceHWTransforms, to allow for customization if required |
|
|
170 |
(H/W acceleration related glitches or changing the set of browsers for |
|
|
171 |
which we attempt to force it). |
|
|
172 |
|
|
|
173 |
* Created Scrollview-List plugin to provide out-of-the-box handling of |
|
|
174 |
List (LI) content inside horizontal and vertical ScrollViews. |
|
|
175 |
|
|
|
176 |
* Fixed incorrect scroll width/height calculations on Chrome 9+, FF |
|
|
177 |
when syncUI() [ or _uiDimensionsChange() ] was called when the ScrollView |
|
|
178 |
was scrolled over. |
|
|
179 |
|
|
|
180 |
* Protected state flags are now reset if _uiDimensionsChange results in |
|
|
181 |
flipped orientation. |
|
|
182 |
|
|
|
183 |
* Use the larger of bb.scrollWidth/Height or cb.scrollWidth/Height, to calculate |
|
|
184 |
scroll dimensions to account for FF (which clips cb.scrollWidth) and |
|
|
185 |
Chrome/MacOS (which clips bb.scrollWidth when translated even after |
|
|
186 |
incorrect scroll calcs above). |
|
|
187 |
|
|
|
188 |
3.3.0 |
|
|
189 |
----- |
|
|
190 |
|
|
|
191 |
* Fixed shared scrollbar node across multiple instances. |
|
|
192 |
|
|
|
193 |
* Changed async call to _uiDimensionsChange after render, to a sync call. |
|
|
194 |
|
|
|
195 |
* Corrected skin prefix to be yui3-skin-sam instead yui-skin-sam. |
|
|
196 |
|
|
|
197 |
* Refactored for kweight, and broke out scrollview-base-ie conditional module. |
|
|
198 |
|
|
|
199 |
* Don't prevent default on gesturemoveend, so that click listeners on |
|
|
200 |
elements inside the scrollview respond reliably. Panning is still prevented |
|
|
201 |
by preventing gesturemousemove. |
|
|
202 |
|
|
|
203 |
* Removed generic CSS in scrollview-base.css targeting UL/LI content. The |
|
|
204 |
rules were added to support the common use case, but were too broad, and in |
|
|
205 |
general, scrollview is content agnostic. |
|
|
206 |
|
|
|
207 |
* The same support can be achieved by adding cssreset to the page (to remove |
|
|
208 |
LI bullets, padding, margin), and adding inline block rules, when providing |
|
|
209 |
horizontal scrollview content as a list. These rules are provided below: |
|
|
210 |
|
|
|
211 |
/* To layout horizontal LIs */ |
|
|
212 |
#my-horiz-scrollview-content li { |
|
|
213 |
display: inline-block; |
|
|
214 |
*display: inline; |
|
|
215 |
*zoom:1; |
|
|
216 |
} |
|
|
217 |
|
|
|
218 |
/* For IE - needs a non-transparent background to pick up events */ |
|
|
219 |
#my-scrollview-content li { |
|
|
220 |
*zoom:1; |
|
|
221 |
background-color:#fff; |
|
|
222 |
} |
|
|
223 |
|
|
|
224 |
* Added prefix-less border radius scrollbar styles for IE9. |
|
|
225 |
|
|
|
226 |
* Made scrollbar-paginator skinnable:false. It has no CSS which is applied, |
|
|
227 |
out of the box currently. The paginator CSS shipped in 3.2.0, was not actively |
|
|
228 |
applied. |
|
|
229 |
|
|
|
230 |
3.2.0 |
|
|
231 |
----- |
|
|
232 |
|
|
|
233 |
* New beta component |