We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Popup 组件内部嵌套 Radio 组件,Radio 组件可以控制Popup 的关闭,然而 Radio 的onChange 事件绑定控制Popup 关闭的方法后,Popup 关闭的动画消失,形成闪退的效果。
const [popupVisible, setPopupVisible] = false; <Popup animationDuration={500} visible={popupVisible} onMaskClick={() => setPopupVisible(false)} destroy={false}> <NavBar right={<Close theme="primary" onClick={() => setPopupVisible(false)} />} /> // 关闭动画正常 <Radio.Group type="list" listIconAlign="after" value={paymentChosen.paymentWay} onChange={() => setPopupVisible(false)} // 关闭动画异常 > { paymentList.map((item) => { return <Radio data={item} />; }) } </Radio.Group> </Popup>
You can get this information from package.json and your device.
package.json
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Description
Popup 组件内部嵌套 Radio 组件,Radio 组件可以控制Popup 的关闭,然而 Radio 的onChange 事件绑定控制Popup 关闭的方法后,Popup 关闭的动画消失,形成闪退的效果。
Steps to Reproduce
Environment
You can get this information from
package.json
and your device.The text was updated successfully, but these errors were encountered: