Skip to content

Commit

Permalink
Fix issue of pinning with Animated
Browse files Browse the repository at this point in the history
  • Loading branch information
forkaj authored and frantic committed Aug 1, 2016
1 parent b5ff381 commit dbcf633
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/common/ListContainer.js
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ class ListContainer extends React.Component {
// If native pinning is not available, fallback to Animated
if (!NativeModules.F8Scrolling) {
var distance = EMPTY_CELL_HEIGHT - this.state.stickyHeaderHeight;
var translateY = 0; this.state.anim.interpolate({
var translateY = this.state.anim.interpolate({
inputRange: [0, distance],
outputRange: [distance, 0],
extrapolateRight: 'clamp',
Expand Down

0 comments on commit dbcf633

Please sign in to comment.