Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

Commit

Permalink
Changes are set to previous values as this is not right approach
Browse files Browse the repository at this point in the history
  • Loading branch information
sridhar02 committed Jul 3, 2020
1 parent fabd60a commit 0f8faf2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import ToastWrapper from 'components/toast_wrapper';
const OVERSCAN_COUNT_BACKWARD = 80;
const OVERSCAN_COUNT_FORWARD = 80;
const HEIGHT_TRIGGER_FOR_MORE_POSTS = 1000;
const BUFFER_TO_BE_CONSIDERED_BOTTOM = 1000;
const BUFFER_TO_BE_CONSIDERED_BOTTOM = 10;

const MAXIMUM_POSTS_FOR_SLICING = {
channel: 50,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,12 +165,12 @@ describe('PostList', () => {
{
name: 'when viewing the top of the post list',
scrollOffset: 0,
expected: true,
expected: false,
},
{
name: 'when 11 pixel from the bottom',
scrollOffset: 489,
expected: true,
expected: false,
},
{
name: 'when 9 pixel from the bottom also considered to be bottom',
Expand Down

0 comments on commit 0f8faf2

Please sign in to comment.