SegmentedView 组件SegmentedView.Sheet 内容为list时 点击切换不能渲染完整数据 划动不了
androidlsl opened this issue · 0 comments
androidlsl commented
<SegmentedView style={{width:100,height:44,}} indicatorLineColor={'#333333'}
onChange={(index)=>{
console.log('pressIndex:',index)
this.initTaskList({needLoading:true})
});
}}>
<SegmentedView.Sheet title='推荐' titleStyle={{fontSize:16,color:'#999999'}} activeTitleStyle={{fontSize:16,color:'#333333'}}
style={{width:32,height:20}}>
{this.renderTaskList()}
</SegmentedView.Sheet>
<SegmentedView.Sheet title='最新' titleStyle={{fontSize:16,color:'#999999'}} activeTitleStyle={{fontSize:16,color:'#333333'}}
style={{width:32,height:20}}>
{/* {this.renderTaskList()} */}
</SegmentedView.Sheet>
</SegmentedView>