tiny-engine icon indicating copy to clipboard operation
tiny-engine copied to clipboard

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

Open yuyimao opened this issue 8 months ago • 1 comments

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

yuyimao avatar Mar 21 '25 02:03 yuyimao

Bot detected the issue body's language is not English, translate it automatically.


Title: 🐛 [Bug]: In free layout mode, the component size cannot be adjusted by dragging the mouse

Issues-translate-bot avatar Mar 21 '25 02:03 Issues-translate-bot