Skip to content

Commit 4d2d07b

Browse files
committed
3.10.4
- IMPROVED: DrawSVGPlugin only warns once now when you use vector-effect="non-scaling-stroke" and scale something non-proportionally. See https://greensock.com/forums/topic/31881-warning-drawsvgplugin-and-vector-effect-property-in-safari-chrome-and-firefox/ - IMPROVED: a ScrollTrigger.refresh() will now force a ScrollSmoother's wrapper element's scrollTop to 0 in order to work around an edge case where the browser automatically set it due to a hash in the URL for example. See https://greensock.com/forums/topic/31897-scroll-to-different-page/#comment-159550 - IMPROVED: forced scroll-behavior to "auto" on <body>/<html> to override Bootstrap's "smooth" that it adds (and breaks things). - IMPROVED: worked around iOS bugs that cause the frame rate to appear to drop in half while touch-scrolling on iOS with ScrollSmoother (only while finger is on screen). - FIXED: regression in 3.10.3 caused ScrollSmoother effects not to work properly if you scroll down on a page and then resize the viewport - FIXED: if you ScrollTrigger.normalizeScroll(true) and then ScrollTrigger.normalizeScroll(false), it could cause touch-scrolling not to work properly on some mobile devices. - FIXED: when pinning elements with ScrollTrigger using transforms rather than position: fixed, if you're animating the y position of the pinned element itself it could throw an error. - FIXED: on initial page load, if the page was scrolled down, ScrollSmoother may render the page at the top. - FIXED: when ScrollTrigger.normalizeScroll() is applied on a page that does NOT have the initial scale set to 1 like <meta name="viewport" content="width=device-width, initial-scale=1">, touch-scrolling may move at the wrong speed. - FIXED: if you ScrollTrigger.normalizeScroll({ type: "pointer,wheel" }) and then drag on the scrollbar in the browser, it may not update ScrollSmoother's position.
1 parent 0ce3461 commit 4d2d07b

Some content is hidden

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

76 files changed

+407
-272
lines changed

README.md

+1-1
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.10.3/gsap.min.js"></script>
21+
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.10.4/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

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

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

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

dist/CSSRulePlugin.min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/CSSRulePlugin.min.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/CustomEase.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@
355355
}
356356

357357
/*!
358-
* CustomEase 3.10.3
358+
* CustomEase 3.10.4
359359
* https://greensock.com
360360
*
361361
* @license Copyright 2008-2022, GreenSock. All rights reserved.
@@ -704,7 +704,7 @@
704704
return CustomEase;
705705
}();
706706
_getGSAP() && gsap.registerPlugin(CustomEase);
707-
CustomEase.version = "3.10.3";
707+
CustomEase.version = "3.10.4";
708708

709709
exports.CustomEase = CustomEase;
710710
exports.default = CustomEase;

0 commit comments

Comments
 (0)