mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-19 05:48:17 +00:00
Merge branch 'fix/render-error-style' into 'release/0.9.3'
fix: 钉住行为调整 See merge request !929568
This commit is contained in:
commit
1dc6e5d7f5
@ -63,6 +63,13 @@ export default class LeftFloatPane extends Component<{ area: Area<any, Panel> }>
|
|||||||
const { area } = this.props;
|
const { area } = this.props;
|
||||||
if (area.visible) {
|
if (area.visible) {
|
||||||
this.focusing?.active();
|
this.focusing?.active();
|
||||||
|
// 关闭当前fixed区域的面板
|
||||||
|
// TODO: 看看有没有更合适的地方
|
||||||
|
const fixedContainer = area?.skeleton?.leftFixedArea?.container;
|
||||||
|
const currentFixed = fixedContainer?.current;
|
||||||
|
if (currentFixed) {
|
||||||
|
fixedContainer.unactive(currentFixed);
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
this.focusing?.suspense();
|
this.focusing?.suspense();
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user