react-iscroll
react-iscroll copied to clipboard
dynamic content?
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.
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?
try manual refresh:
componentDidUpdate() { this.refs.iScroll._iScrollInstance.refresh() }
@jackyon @Maggieryder What is different than program in react-iscroll example? There dymic adding of content work fine.