when using picker, the animation disappears without showing off.
confirm, cancel, and click the mask are all animations that do not disappear
<Picker
// visible={this.state.sexVisible}
data={[
{ value: 1, label: "" },
{ value: 2, label: "" },
{ value: 3, label: "" },
]}
cols={1}
value={[this.state.info.sex]}
onChange={v => this.changeFunc("sex", v[0])}
// onOk={() => this.setState({ sexVisible: false })}
// onDismiss={() => this.setState({ sexVisible: false })}
>
<List.Item arrow="horizontal">
</List.Item>
</Picker>
The same is true of the demo copy on the official website. The version I use is 2.2.1 link description .