leafer-ui
leafer-ui copied to clipboard
使用Flow嵌套Text时开启editable拖动有问题
const app = new App({
view: window,
editor: {}
})
const test1 = new Flow(
{ draggable: true }
);
const test1_1 = new Flow(
{ draggable: true }
);
test1_1.add(Text.one({
text: 'test1_1',
editable: true, fill: '#FFE04B', fontSize: 16,
}, 100, 100, 100))
test1_1.add(Text.one({
text: 'test1_2',
editable: true, fill: '#FFE04B', fontSize: 16,
}, 100, 100, 100))
test1.add(test1_1)
app.tree.add(test1)
只能往上拖动 无法往下 不知道是什么原因?
感谢反馈,自动布局的内部元素暂时还不支持拖拽和图形编辑,文档中有说明~
@leaferjs 感谢回复 希望以后能支持
@leaferjs 感谢回复 希望以后能支持
后续肯定会支持的~