Skip to content

Commit

Permalink
fix(occlusion): wire up lastVisibleChanged
Browse files Browse the repository at this point in the history
  • Loading branch information
buschtoens committed Nov 27, 2017
1 parent 3a6192d commit 6d71609
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions addon/components/lt-body.js
Original file line number Diff line number Diff line change
Expand Up @@ -487,6 +487,7 @@ export default Component.extend({
},

firstVisibleChanged(item, index /* , key */) {
this.sendAction('firstVisibleChanged', ...arguments);
const estimateScrollOffset = index * this.get('sharedOptions.estimatedRowHeight');
this.sendAction('onScroll', estimateScrollOffset, null);
},
Expand Down

0 comments on commit 6d71609

Please sign in to comment.