Skip to content

Releases: DockYard/ember-in-viewport

v3.10.3

29 Nov 15:20
Compare
Choose a tag to compare

v3.8.0

10 Sep 05:18
Compare
Choose a tag to compare
3.8.0

We can finally have nice things

30 Nov 21:15
Compare
Choose a tag to compare

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

02 Mar 16:04
Compare
Choose a tag to compare

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

02 Mar 16:05
Compare
Choose a tag to compare
  • Intersection Observer support by default
  • Scrollable container support

[BUGFIX] viewportSpy woes

04 Dec 01:57
Compare
Choose a tag to compare

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

13 Oct 15:45
Compare
Choose a tag to compare

This release fixes a deprecation warning in Ember 2.x, and fixes faulty default logic where default listeners would not be applied.

Breaking release

17 Aug 13:59
Compare
Choose a tag to compare

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

06 Jun 19:49
Compare
Choose a tag to compare

This release fixes a bug where deprecation warnings for didScroll{Up,Down,Left,Right} would fire incorrectly.

Changelog

DidScroll hooks

01 Jun 15:28
Compare
Choose a tag to compare

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'
  }
});
Changelog