Skip to content
New issue

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

[Dialog] 样式被破坏了 #3198

Open
moecasts opened this issue Nov 13, 2024 · 2 comments
Open

[Dialog] 样式被破坏了 #3198

moecasts opened this issue Nov 13, 2024 · 2 comments
Labels
need more info 需要更多信息理解 issue 的问题

Comments

@moecasts
Copy link
Collaborator

moecasts commented Nov 13, 2024

tdesign-react 版本

1.9.3

重现链接

No response

重现步骤

这行代码破坏了 DialogCard 的样式,display 被强制改为了 block

dialogCardRef.current.style.display = 'block';

比如我这个 dialogCardRef 写的是 display: flex 的布局,但是经过这个代码后,被强制格式化成了 block

期望结果

能保留原有的样式,比如组件 onMounted 的时候记一下 dialogCardRef 最初的 display,方便还原

实际结果

No response

框架版本

No response

浏览器版本

No response

系统版本

No response

Node版本

No response

补充说明

No response

Copy link
Contributor

👋 @moecasts,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

@HaixingOoO HaixingOoO added the need more info 需要更多信息理解 issue 的问题 label Nov 13, 2024
@HaixingOoO
Copy link
Collaborator

可以给多点信息,样式被破坏,是什么情况呢?然后好排查解决问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need more info 需要更多信息理解 issue 的问题
Projects
None yet
Development

No branches or pull requests

2 participants