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

[Feature]: 使用自定义 React 节点时,渲染内容被 "div.custom-react-node-content" 包裹,高度未占满节点高度 #1877

Open
Hickays opened this issue Sep 20, 2024 · 3 comments
Assignees

Comments

@Hickays
Copy link
Contributor

Hickays commented Sep 20, 2024

背景&目的

建议为 div .custom-react-node-content 增加 heignt: 100% 属性,这样在做内容做自适应如 "居中" 等处理时更方便

image


image


image

@boyongjiong
Copy link
Collaborator

我们正在考虑优化自定义节点的使用体验,后续会优化该功能

@0131LWG
Copy link

0131LWG commented Oct 16, 2024

vue的自定义节点也有一样的问题

@DymoneLewis
Copy link
Collaborator

确实,我写demo的时候也发现了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants