reactScrollbar
reactScrollbar copied to clipboard
scrollTop() scrollBottom() no effect when datas changeing
scrollTop() scrollBottom() if I want to let it always on the Top or Bottom when data changed. but It no effect. it always on the penult area. waitting for your help. thanks!
Hey, did you find workaround for the issue?
Hi @FengLinZhang @patrykcieszkowski, I can add callback to refresh method which will be called after refresh. In that callback you could call scrollBottom method. Currently it doesn't work because scrollBottom change scrollbar state before refresh method finishes it's work.
Are you ok with that solution?
@souhe sure, that sounds great!