Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed container so that it would load extra messages if it detected that... #361

Merged
merged 1 commit into from
May 15, 2014

Conversation

scouttyg
Copy link
Member

... a scroll bar was not present on the container

…hat a scroll bar was not present on the container
if !$container.hasScrollBar()
@loading_new_messages = true;
@loadMoreActivities($container)

$container.bind 'scroll', =>
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When we bind to the "scroll" event, we have to make sure a scroll bar is actually present or it will never trigger. In the case of #358, the user had a vertical monitor which didn't allow for a scroll bar to appear. Thus, they couldn't scroll to trigger new messages.

fusion94 pushed a commit that referenced this pull request May 15, 2014
Fixed container so that it would load extra messages if it detected that...
@fusion94 fusion94 merged commit 7a6fee7 into kandanapp:master May 15, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants