mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-13 01:21:58 +00:00
fix: 钉住行为调整
This commit is contained in:
parent
d601d5e1a9
commit
91a390e3a9
@ -63,6 +63,13 @@ export default class LeftFloatPane extends Component<{ area: Area<any, Panel> }>
|
||||
const { area } = this.props;
|
||||
if (area.visible) {
|
||||
this.focusing?.active();
|
||||
// 关闭当前fixed区域的面板
|
||||
// TODO: 看看有没有更合适的地方
|
||||
const fixedContainer = area?.skeleton?.leftFixedArea?.container;
|
||||
const currentFixed = fixedContainer?.current;
|
||||
if (currentFixed) {
|
||||
fixedContainer.unactive(currentFixed);
|
||||
}
|
||||
} else {
|
||||
this.focusing?.suspense();
|
||||
}
|
||||
@ -90,6 +97,7 @@ export default class LeftFloatPane extends Component<{ area: Area<any, Panel> }>
|
||||
}
|
||||
|
||||
render() {
|
||||
console.log('00000');
|
||||
const { area } = this.props;
|
||||
const width = area.current?.config.props?.width;
|
||||
const hideTitleBar = area.current?.config.props?.hideTitleBar;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user