Open wanglaohushiwo opened 4 years ago
看segmentedview源码看了一遍,本来以为会在SegmentedView.Sheet的子view里重写shouldComponentUpdate方法(当opatity变化时不更新),但是却没有重写shouldComponentUpdate方法
找到原因了,是这个原因导致的,大家可以去查this.props.children not re-rendered on parent state change
看segmentedview源码看了一遍,本来以为会在SegmentedView.Sheet的子view里重写shouldComponentUpdate方法(当opatity变化时不更新),但是却没有重写shouldComponentUpdate方法