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

@alilc/lowcode-plugin-simulator-select Bug #2711

Open
yimuc opened this issue Nov 29, 2023 · 1 comment
Open

@alilc/lowcode-plugin-simulator-select Bug #2711

yimuc opened this issue Nov 29, 2023 · 1 comment
Assignees
Labels
help wanted Extra attention is needed / 老铁,赚 PR 的机会来了

Comments

@yimuc
Copy link

yimuc commented Nov 29, 2023

Describe the bug (required) / 详细描述 bug(必填)

A clear and concise description of what the bug is. / 请提供清晰且精确的 bug 描述

使用 @alilc/lowcode-plugin-simulator-select 包,初始化项目,画布大小的输入框里默认不会填入当前画布宽度,而是0。


To Reproduce (required) / 如何复现 bug?(必填,非常重要)

Steps to reproduce the behavior: / 详细复现步骤:

https://github.com/alibaba/lowcode-plugins/blob/a0ad0224b48607f867891b7bfb6ddf78c6753aad/packages/plugin-simulator-size/src/index.tsx#L32
这里根据css取当前画布宽度,应该是当前插件引入的css还没构建渲染树,所以取宽度没生效


Expected behavior (required) / 预期行为(必填,非常重要)

A clear and concise description of what did you expect to happen. / 请清晰和精确的描述你预期的行为

项目初始化,画布大小输入框填入当前画布宽度。

@liujuping liujuping added the help wanted Extra attention is needed / 老铁,赚 PR 的机会来了 label Nov 30, 2023
Copy link

Hello @yifeishu-com. We totally like your proposal/feedback, PR wanted。

你好 @yifeishu-com,我们完全同意你的提议/反馈,欢迎 PR。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed / 老铁,赚 PR 的机会来了
Projects
None yet
Development

No branches or pull requests

2 participants