Releases: DockYard/ember-in-viewport
Releases · DockYard/ember-in-viewport
v3.10.3
v3.8.0
We can finally have nice things
Much of the work since 3.0 has been fixing memory leaks and greatly improving performance in memory intensive situations.
3.0 - 3.2
- Use rAFPool npm pkg - #170
- Extract static admin && update deps - #169
- Fix scope memory leak - #168
- Fix calculation of viewport width - #167
- right left scrolling example - #127
- Update to 3.4 and resolve audit warning - #163
- Handle root with gaining sizzle properties - #162
- Do not cancel rAF as this effects other elements that are observed - #159
- Use one IntersectionObserver per viewport - #153
- Stop rAF loop if transition from page that uses rAF to page that uses IO - #152
- Ensure explicitly setting viewportUseIntersectionObserver is not allowed - #147
- use one rAF manager - #145
- Cancel animation frame before requesting again - #144
- add note about didExitViewport and intersectionThreshold - #143
- upgrade to 3.1 ember - #140
- Bugfix - send action on destroy + memory leaks - #138
- Add firefox to travis - #134
Pre 3.0
- Upgrade to 3.0 and remove jquery usage - #121
Upgrade me
Upgrade notes: none.
- Upgrade to [email protected] #121
- Remove jQuery from application
- Update scroll listeners to use JavaScript
- Proper rAF support when in a scrollable container #132 #133
- Add docs about IntersectionObserver support #130
Observe all things
- Intersection Observer support by default
- Scrollable container support
[BUGFIX] viewportSpy woes
This patch release fixes an issue where the viewportEntered
property would sometimes revert to false
even if the spy was unbound. Thanks to @csand for this fix.
Deprecation warning fix
This release fixes a deprecation warning in Ember 2.x, and fixes faulty default logic where default listeners would not be applied.
Breaking release
This release removes the didScroll{Up,Down,Left,Right}
hooks that were deprecated in 1.2.4
. You should use didScroll(direction)
instead.
[Bugfix] Deprecation warnings
DidScroll hooks
This release deprecates the use of didScroll{Up,Down,Left,Right}
hooks. You should use didScroll(direction)
instead as a hook, like so:
export default Ember.Component.extend(InViewportMixin, {
didScroll(direction) {
console.log(direction); // 'up' || 'down' || 'left' || 'right'
}
});