Skip to content

Commit

Permalink
3.3.3
Browse files Browse the repository at this point in the history
- FIXED:  if you scroll really fast so that it goes past the start and end of the ScrollTrigger (onEnter and onLeave), it should prioritize the latter BUT if the onLeave is "none" or undefined, it makes the most intuitive sense to fire the onEnter action in this case. Likewise, if you scroll backward very quickly, it should do the same for the onEnterBack/onLeaveBack actions. See https://greensock.com/forums/topic/24445-scrolltrigger-version-332-doesnt-work-in-my-example/

- FIXED: (related to above) if you have an onEnter and scroll quickly past BOTH of a ScrollTrigger's start/end positions (could happen especially if they're very close to each other), the onEnter may not fire at all.

- FIXED: if you reload a page that's already scrolled down, the onEnter/onLeave may fire even for ScrollTriggers that are "above" where the scroll position is. Now it more appropriately skips ones that aren't relevant.
  • Loading branch information
jackdoyle committed Jun 14, 2020
1 parent 0a0a089 commit 754ca43
Show file tree
Hide file tree
Showing 60 changed files with 133 additions and 126 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ View the <a href="https://greensock.com/docs">full documentation here</a>, inclu

### CDN
```html
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.3.2/gsap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.3.3/gsap.min.js"></script>
```
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.

Expand Down
4 changes: 2 additions & 2 deletions dist/CSSRulePlugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
}(this, (function (exports) { 'use strict';

/*!
* CSSRulePlugin 3.3.2
* CSSRulePlugin 3.3.3
* https://greensock.com
*
* @license Copyright 2008-2020, GreenSock. All rights reserved.
Expand Down Expand Up @@ -51,7 +51,7 @@
};

var CSSRulePlugin = {
version: "3.3.2",
version: "3.3.3",
name: "cssRule",
init: function init(target, value, tween, index, targets) {
if (!_checkRegister() || typeof target.cssText === "undefined") {
Expand Down
4 changes: 2 additions & 2 deletions dist/CSSRulePlugin.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/CSSRulePlugin.min.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/Draggable.js
Original file line number Diff line number Diff line change
Expand Up @@ -2909,7 +2909,7 @@
});

Draggable.zIndex = 1000;
Draggable.version = "3.3.2";
Draggable.version = "3.3.3";
_getGSAP() && gsap.registerPlugin(Draggable);

exports.Draggable = Draggable;
Expand Down
4 changes: 2 additions & 2 deletions dist/Draggable.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/Draggable.min.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/EasePack.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
}(this, (function (exports) { 'use strict';

/*!
* EasePack 3.3.2
* EasePack 3.3.3
* https://greensock.com
*
* @license Copyright 2008-2020, GreenSock. All rights reserved.
Expand Down Expand Up @@ -201,7 +201,7 @@

for (var p in EasePack) {
EasePack[p].register = _initCore;
EasePack[p].version = "3.3.2";
EasePack[p].version = "3.3.3";
}

_getGSAP() && gsap.registerPlugin(SlowMo);
Expand Down
Loading

0 comments on commit 754ca43

Please sign in to comment.