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

dynamic content? #24

Open
jackyon opened this issue May 30, 2016 · 3 comments
Open

dynamic content? #24

jackyon opened this issue May 30, 2016 · 3 comments
Labels

Comments

@jackyon
Copy link

jackyon commented May 30, 2016

Hi,

i have tried this react iscroll, looks like it is no problem with the synchronization content, but failed when dynamic loads the contents.

plz advise if any method to solve this issue, thx.

@jackyon jackyon changed the title async init? dynamic content? May 30, 2016
@Maggieryder
Copy link

Also having problem with loading new content. Works fine for the first content, then the hasHorizontalScroll and maxScrollX values do not update after new content added, thereafter scroller does not work. I've spent days trying to troubleshoot this. Any Ideas anyone?

@sinn1
Copy link

sinn1 commented Oct 6, 2016

try manual refresh:

componentDidUpdate() {
this.refs.iScroll._iScrollInstance.refresh()
}

@schovi
Copy link
Owner

schovi commented Nov 1, 2016

@jackyon @Maggieryder What is different than program in react-iscroll example? There dymic adding of content work fine.

@schovi schovi added the question label Nov 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants