Skip to content

hi,i got a problem in chrome 61.0.3163.100 #2

New issue

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

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

Already on GitHub? # to your account

Closed
yoruponder opened this issue Oct 13, 2017 · 3 comments
Closed

hi,i got a problem in chrome 61.0.3163.100 #2

yoruponder opened this issue Oct 13, 2017 · 3 comments
Assignees
Labels

Comments

@yoruponder
Copy link

it works only in first time when scroll the page to bottom, when append the new data into list it does not work in the callback.

is any wrongs in (line 20-24)

 handleOnScroll() {
    if (document.body.scrollHeight - this.props.offset <= (document.body.scrollTop + window.innerHeight)) {
      this.props.onBottom();
    }
  }

document.body.scrollTop always in 0,
this problem is only occur in new version desktop chrome, i got no problem yet, and the code run perfect in mobile device

@karl-run
Copy link
Owner

I'm able to reproduce the issue. It seems to be an issue with Chrome 61, I'll have a look if there's a workaround/fix I can do on my side.

@karl-run karl-run added the bug label Oct 16, 2017
@karl-run karl-run self-assigned this Oct 16, 2017
@karl-run
Copy link
Owner

This should be fixed now, new version published is 1.1.0.

@yoruponder
Copy link
Author

thanks 👍 it works very cool now :-D

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants