tiny-engine
tiny-engine copied to clipboard
🐛 [Bug]:自由布局模式下,组件大小不能通过鼠标拖拉的方式调整
Environment
chrome
Version
latest
Version
latest
Link to minimal reproduction
自由布局下,开源版本地部署后组件不能在画布中通过拖拉进行缩放,组件不会出现8个方向的大小调整手柄,
排查问题后发现,是组件放置结束后调用showaction方法,但是因为此时props.resize属性为true,导致方法返回为false,最终导致调节大小的手柄不会出现
Step to reproduce
自由布局下,开源版本地部署后组件不能在画布中通过拖拉进行缩放,组件不会出现8个方向的大小调整手柄,
排查问题后发现,是组件放置结束后调用showaction方法,但是因为此时props.resize属性为true,导致方法返回为false,最终导致调节大小的手柄不会出现
What is expected
No response
What is actually happening
No response
What is your project name
null
Any additional comments (optional)
No response
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