Skip to content

Commit 8b6107a

Browse files
committed
3.4.2
- FIXED: regression in 3.4.1 could cause pinning to break in certain scenarios. - FIXED: if you try pinning an element that has a child with collapsing margins, ScrollTrigger will now automatically sense if the pinned element has no scrollable content and set overflow: hidden as an inline style to prevent the collapsing margin issue. This should resolve most cases like that where collapsing margins cause a jump (by the amount of the collapse) when pinning. - FIXED: in the TypeScript definitions file, refreshPriority was accidentally set to be required instead of optional. See #400
1 parent 73a92fa commit 8b6107a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+137
-118
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ View the <a href="https://greensock.com/docs">full documentation here</a>, inclu
1818

1919
### CDN
2020
```html
21-
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.4.1/gsap.min.js"></script>
21+
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.4.2/gsap.min.js"></script>
2222
```
2323
Click the green "Get GSAP Now" button at <a href="https://greensock.com/?download=GSAP-JS">greensock.com</a> for more options and installation instructions, including CDN URLs for various plugins.
2424

dist/CSSRulePlugin.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
}(this, (function (exports) { 'use strict';
66

77
/*!
8-
* CSSRulePlugin 3.4.1
8+
* CSSRulePlugin 3.4.2
99
* https://greensock.com
1010
*
1111
* @license Copyright 2008-2020, GreenSock. All rights reserved.
@@ -51,7 +51,7 @@
5151
};
5252

5353
var CSSRulePlugin = {
54-
version: "3.4.1",
54+
version: "3.4.2",
5555
name: "cssRule",
5656
init: function init(target, value, tween, index, targets) {
5757
if (!_checkRegister() || typeof target.cssText === "undefined") {

dist/CSSRulePlugin.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/CSSRulePlugin.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/Draggable.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2909,7 +2909,7 @@
29092909
});
29102910

29112911
Draggable.zIndex = 1000;
2912-
Draggable.version = "3.4.1";
2912+
Draggable.version = "3.4.2";
29132913
_getGSAP() && gsap.registerPlugin(Draggable);
29142914

29152915
exports.Draggable = Draggable;

dist/Draggable.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/Draggable.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/EasePack.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
}(this, (function (exports) { 'use strict';
66

77
/*!
8-
* EasePack 3.4.1
8+
* EasePack 3.4.2
99
* https://greensock.com
1010
*
1111
* @license Copyright 2008-2020, GreenSock. All rights reserved.
@@ -201,7 +201,7 @@
201201

202202
for (var p in EasePack) {
203203
EasePack[p].register = _initCore;
204-
EasePack[p].version = "3.4.1";
204+
EasePack[p].version = "3.4.2";
205205
}
206206

207207
_getGSAP() && gsap.registerPlugin(SlowMo);

0 commit comments

Comments
 (0)