From d30807cf84f4e8930102a7a083fe0209a466825f Mon Sep 17 00:00:00 2001 From: hezhihang Date: Fri, 20 Dec 2024 15:36:56 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20iframe=E4=B8=AD=E5=86=92=E6=B3=A1?= =?UTF-8?q?=E4=BC=9A=E5=AF=BC=E8=87=B4=E8=A7=A6=E5=8F=91rootclose?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/amis/src/renderers/Form/NestedSelect.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/amis/src/renderers/Form/NestedSelect.tsx b/packages/amis/src/renderers/Form/NestedSelect.tsx index 9785374afeb..aafb5e4c4d5 100644 --- a/packages/amis/src/renderers/Form/NestedSelect.tsx +++ b/packages/amis/src/renderers/Form/NestedSelect.tsx @@ -195,6 +195,8 @@ export default class NestedSelectControl extends React.Component< @autobind handleOutClick(e: React.MouseEvent) { + e.stopPropagation(); + const {options} = this.props; this.outTargetWidth = this.outTarget.current?.clientWidth; e.defaultPrevented ||