Skip to content

🐛 [Bug]:自由布局模式下,组件大小不能通过鼠标拖拉的方式调整 #1237

Open
@yuyimao

Description

@yuyimao

Environment

chrome

Version

latest

Version

latest

Link to minimal reproduction

自由布局下,开源版本地部署后组件不能在画布中通过拖拉进行缩放,组件不会出现8个方向的大小调整手柄,

Image
排查问题后发现,是组件放置结束后调用showaction方法,但是因为此时props.resize属性为true,导致方法返回为false,最终导致调节大小的手柄不会出现

Image

Step to reproduce

自由布局下,开源版本地部署后组件不能在画布中通过拖拉进行缩放,组件不会出现8个方向的大小调整手柄,

Image
排查问题后发现,是组件放置结束后调用showaction方法,但是因为此时props.resize属性为true,导致方法返回为false,最终导致调节大小的手柄不会出现

Image

What is expected

No response

What is actually happening

No response

What is your project name

null

Any additional comments (optional)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions