Skip to content

Commit

Permalink
fix: iframe中冒泡会导致触发rootclose
Browse files Browse the repository at this point in the history
  • Loading branch information
hezhihang authored and yangwei9012 committed Dec 23, 2024
1 parent 9691022 commit d30807c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/amis/src/renderers/Form/NestedSelect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,8 @@ export default class NestedSelectControl extends React.Component<

@autobind
handleOutClick(e: React.MouseEvent<any>) {
e.stopPropagation();

const {options} = this.props;
this.outTargetWidth = this.outTarget.current?.clientWidth;
e.defaultPrevented ||
Expand Down

0 comments on commit d30807c

Please sign in to comment.