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
1.2.6
No response
<Popconfirm visible={showConfirm[row.vsClass]} content={内容} onCancel={() => { setDisableMapSelect(false); setMapSelectValue(old => ({ ...old, [row.vsClass]: undefined })); setShowConfirm(old => ({ ...old, [row.vsClass]: false })); }} onConfirm={() => { console.log('hello') }} > //封装组件嵌套 <Select value={mapSelectValue[row.vsClass]} disabled={disableMapSelect} options={MERGED_TYPE_LIST.map(e => ({ label: e.label, value: e.name }))} onChange={value => { console.log('hello') }} />
内容
希望位置不发生偏移,功能正常。
位置偏移,删除按钮无法点击
The text was updated successfully, but these errors were encountered:
👋 @Smyile,感谢给 TDesign 提出了 issue。 请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。
Sorry, something went wrong.
你可以暂时使用Fragment来解决这个问题,主要是嵌套的popup查找ref的问题
Fragment
popup
ref
<Popconfirm> <> <Select /> </> </Popconfirm>
No branches or pull requests
tdesign-react 版本
1.2.6
重现链接
No response
重现步骤
<Popconfirm
![企业微信截图_270f150c-c7d5-479b-91d1-f51bfad2190c](https://private-user-images.githubusercontent.com/63196724/346897490-49471243-593d-46f5-bff3-78d63a63cfd9.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ2OTY0MDEsIm5iZiI6MTcyNDY5NjEwMSwicGF0aCI6Ii82MzE5NjcyNC8zNDY4OTc0OTAtNDk0NzEyNDMtNTkzZC00NmY1LWJmZjMtNzhkNjNhNjNjZmQ5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI2VDE4MTUwMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTRlYjc5ZGRkYjUxZWZkMDM0NTFhODJiNTg3YzU5MWIwZmIwZDU5YjM3YTRkZWE1MDA0ODRlNDg2N2JhNDY4NjMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.0Fd6XGpi11k1tjY0_sc6ZdXfK8jhrJXQzTvRqPorRU4)
visible={showConfirm[row.vsClass]}
content={
内容
}onCancel={() => {
setDisableMapSelect(false);
setMapSelectValue(old => ({ ...old, [row.vsClass]: undefined }));
setShowConfirm(old => ({ ...old, [row.vsClass]: false }));
}}
onConfirm={() => {
console.log('hello')
}}
>
//封装组件嵌套
<Select
value={mapSelectValue[row.vsClass]}
disabled={disableMapSelect}
options={MERGED_TYPE_LIST.map(e => ({ label: e.label, value: e.name }))}
onChange={value => {
console.log('hello')
}}
/>
期望结果
希望位置不发生偏移,功能正常。
实际结果
位置偏移,删除按钮无法点击
框架版本
No response
浏览器版本
No response
系统版本
No response
Node版本
No response
补充说明
No response
The text was updated successfully, but these errors were encountered: