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
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: