Skip to content

Commit

Permalink
fix: iframe中冒泡会导致触发rootclose (#11481)
Browse files Browse the repository at this point in the history
  • Loading branch information
F-jianchao authored Jan 10, 2025
1 parent db9d564 commit ab0a728
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/amis/src/renderers/DropDownButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ export default class DropDownButton extends React.Component<

toogle(e: React.MouseEvent<any>) {
e.preventDefault();

e.stopPropagation();
this.setState({
isOpened: !this.state.isOpened
});
Expand Down

0 comments on commit ab0a728

Please sign in to comment.