Meituan-Dianping / beeshell

React Native 组件库
MIT License
1.8k stars 280 forks source link

import Longlist from 'beeshell/dist/components/Longlist';但暂无数据时调用 this._scrollView && this._scrollView.flatList.scrollToIndex({ index: 1 });方法不起作用 #45

Closed liuyunzyj closed 5 years ago

liuyunzyj commented 5 years ago

@wxlworkhard 望官方快点解决这个问题

wxlworkhard commented 5 years ago

scrollToIndex 是滚动到索引指定的项,无数据的时候,肯定不起作用啊

liuyunzyj commented 5 years ago

如果需要做到有数据和无数据一样的效果那怎么处理呢?有什么好的建议吗?

wxlworkhard commented 5 years ago

没明白你的需求是什么