0.6.24 (2014-04-18)
- Added support for animating attributes (#204).
- Fixed some issue with forceHeight (#347).
0.6.23 (2014-04-18)
- Experimental support for emitting events when the scrolling passes a keyframe (check out the docs for
keyframeoption/event). - When using
refresh, make sure elements which do not longer have keyframes get properly cleaned up (#486). - Fixed
refreshnot acceptingNodeLists (#435). - Expose the status of mobile mode as
isMobile()function (#488).
0.6.22 (2014-02-21)
- Experimental AMD support (#409). Please read the documentation about it.
0.6.21 (2014-01-06)
- Disabled mobile mode on Windows Phone, since it’s not needed there (#408).
0.6.20 (2014-01-03)
- Fixed broken percentage constants.
0.6.19 (2014-01-02)
- Constants can now be defined as functions or percentage offsets (#148, #404).
breaking: When using a constant of value 100 together with percentage offsets like data-_foo-75p,
the value was implicitly handled as percentage value 100p. Starting with this version you need to explcitly use 100p if you want percentage constants.
On the plus side, you can now mix an absolute constant with a percentage keyframe or a percentage constant with an absolute keyframe.
0.6.18 (2013-12-18)
- Fixed scrolling on input elements (#397).
0.6.17 (2013-10-19)
- Fixed keyboard not appearing on some mobile browsers when an input was focused (#349).
0.6.16 (2013-10-18)
- Fixed
z-index:auto;not working because it was always coerced to an integer (#351).
0.6.15 (2013-10-03)
- Fixed clicking on links (and other elements) on mobile (#263, #303, #338).
- Added
getMaxScrollTopmethod (#238).
0.6.14 (2013-10-03)
- Fixed the
directionparameter that’s passed to the render events (#339).
0.6.13 (2013-09-29)
- Added support for percentage offsets (#185).
0.6.12 (2013-09-17)
- Added
destroymethod (#109).
0.6.11 (2013-08-13)
- Made the mobile deceleration configurable and lowered the default (#222, #229).
0.6.10 (2013-07-30)
- Fixed bug which caused IE to perform an endless loop (#271).
0.6.9 (2013-07-01)
- Improved overall performance for mobile (#249).
0.6.8 (2013-06-17)
- Added a new option
smoothScrollingDuration.
0.6.7 (2013-06-17)
- Changed the default value of
edgeStrategyfromeasetoset. There are too many cases whereeasewas not wanted and unexpected.
0.6.6 (2013-06-05)
- Fixed IE plugin not working. This was caused by assigning
skrollr.setStyleto a local variable inside the skrollr core. Since the IE plugin monkey-patches the skrollr.setStyle function, the core didn’t notice the change (#199 comment 18986949).
0.6.5 (2013-05-22)
- Fixed crash in IE < 9 because the detected prefix was
null(#220).
0.6.4 (2013-05-21)
- Fixed that some elements got the
skrollable-beforeandskrollable-afterclass at the same time.
0.6.3 (2013-05-19)
- When resizing the browser, the scroll position was reset to 0 (#217)
0.6.2 (2013-05-18)
- When resizing the browser,
forceHeightwas colliding with the already forced height (#216).
0.6.1 (2013-05-18)
- Allow numbers inside of easing function names (#152).
0.6.0 (2013-05-18)
Expect things to break when coming from 0.5! Read through the changelog. Migration is not hard.
- [breaking] There’s no more
skrollr.mobile.jsfile. You only needskrollr.js. You no longer need to conditionally includeskrollr.mobile.js. - You can configure how skrollr detects mobile browsers using the
mobileCheckoption (check out the documentation). - [possibly breaking] The meaning of the
#skrollr-bodyelement changed. Put all static elements inside of it and all absolute/fixed elements outside. It doesn’t need to be the first child of the body anymore. - [breaking] The
renderedandunrenderedclasses where renamed because they were confusing and wrong. They’re now calledskrollable-beforeandskrollable-after, because that’s their meaning (the element with these classes is before/after the first/last keyframe).- Added a new class
skrollable-between, because symmetry. That’s why.
- Added a new class
- Easing functions are now applied when exactly at a keyframe (#132).
- [possibly breaking] The behavior changed for the case when the scroll position is before/after the first/last keyframe (I’m just gonna use “before first” from now on, because “after last” is analog). In 0.5 the behavior was not exactly specified and buggy (see item above regarding #132). Skrollr was applying the styles of the first keyframe to the element for all scroll position that were before the first keyframe. E.g. when
data-100="top:200px;"was the first keyframe, the element hadtop:200px;at all scroll positions before (all from0to99). From now on you can specify the behavior you want (seeedgeStrategyoption for details, set it tosetfor old behavior). Note: 0.6.7 and up usesetas default.
0.5.14
- Add a
skrollr-mobileclass to the html element when the mobile script is included.
0.5.13 (2013-02-08)
- #131: Use a cross browser approach for getting the body scroll-height.
- #133: Use the maximum of document height or the max keyframe for edge cases where absolute keyframes are used in a relative-mode-like document and
data-endwas calculated wrong.
0.5.12 (2013-02-08)
- #121: Fixed prefix detection in Safari.
0.5.11 (2013-01-18)
- #126: When calling refresh(), force rerendering, even if the scrollbar didn’t move.
0.5.10
- #104: Fixed the most annoying bug on mobile. There was a large blank space at the bottom of the page.
0.5.9
- #118: Fixed broken prefix detection. Was broken all the time, but worked before Firefox 18.
0.5.8 (2013-01-12)
- #116 + #117: SVG support was broken for relative mode.
0.5.7
- #103: skrollr no longer depends on being added to the bottom of the document.
0.5.6
- #105: Fixed inconsistent behaviour for adding
renderedandunrenderedclass on page load
0.5.5
- #100: Fixed relative-mode not working correctly in IE < 9 due to crippled getBoundingClientRect
0.5.4 (2012-11-18)
- #80: When resizing the browser window the calculation of relative mode was wrong when the element’s vertical position was changed before.
0.5.3
- #66: Make IE 7 support a light version of
data-anchor-targetby mappingquerySelectortogetElementById.
0.5.2
- #78: Fixed that new parser didn’t allowed omitting the last semicolon in a keyframe property list.
0.5.1 (2012-10-29)
- Fixed
setScrollTopandanimateTonot working because iScroll uses negative offset.
0.5.0 (2012-10-09)
- breaking the
pluginapi has been removed (the IE plugin has been updated to a new, hidden api). - Full mobile support using iscroll.
- #73: Fixed parser to not mess up colons inside URLs
- #74: Fixed parser to not treat single periods as decimal numbers
- #76: Fixed dummy element overlaping the content, even though it should be unobtrusive
0.4.13
- #58:
forceHeightnow handles relative mode like a boss. - #59: Make
scaleoption only affect absolute mode.
0.4.12
- #64: Setting
floatproperty using JavaScript didn’t work across browser. Now usingstyleFloatandcssFloatproperties.
0.4.11 (2012-09-17)
- The
scaleoption does not affectconstants.
0.4.10
- Allow smooth scrolling on element level using
data-smooth-scrolling
0.4.9
- Added experimental smooth scrolling (no more CSS transitions. WORKS IN IE.).
0.4.8
- Added
stopAnimateTomethod.
0.4.7
- Updated the requestAnimationFrame polyfill for smoother animations
- Updated the way requestAnimationFrame is used for even smoother animations
0.4.6
- New method
relativeToAbsolutewhich was formerly private - New method
isAnimatingToto check if an animation caused byanimateTois running - Added
sqrteasing function
0.4.5
- Experimental mobile support using https://github.com/zynga/scroller
0.4.4
- A
skrollrclass is added to the HTML element and ano-skrollrclass is removed wheninitis called. Useful for fallback styling.
0.4.3 (2012-08-02)
- Added new feature “constants”.
0.4.2 (2012-07-26)
- Added new feature “anchor-target” which allows elements to react to other elements leaving/entering the viewport.
0.4.1 (2012-07-25)
- Fixed a bug which broke skrollr in IE caused by wrong regular expression behavior
0.4.0 (2012-07-22)
- breaking the
data-end-[offset]syntax changed. It’s nowdata-[offset]-end. - Fixed a bug where white spaces between style declarations were not ignored.
- Added support for anchors. Animations can now be specified relative to the elements position within the viewport.
- Added support for SVG elements.
- Added new method
refresh().