react-iscroll icon indicating copy to clipboard operation
react-iscroll copied to clipboard

dynamic content?

Open jackyon opened this issue 8 years ago • 3 comments

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 avatar May 30 '16 06:05 jackyon

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?

Maggieryder avatar Sep 15 '16 02:09 Maggieryder

try manual refresh:

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

sinn1 avatar Oct 06 '16 12:10 sinn1

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

schovi avatar Nov 01 '16 22:11 schovi