Skip to content

Commit

Permalink
Fix primefaces#6562: onHide called twice fix (primefaces#6565)
Browse files Browse the repository at this point in the history
* Fix primefaces#6562: onHide called twice fix

* Update Dialog.js

---------

Co-authored-by: Melloware <mellowaredev@gmail.com>
  • Loading branch information
Rekl0w and melloware authored May 3, 2024
1 parent fb2bae4 commit 0426a0d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions components/lib/dialog/Dialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -264,8 +264,6 @@ export const Dialog = React.forwardRef((inProps, ref) => {
};

const onExited = () => {
props.onHide && props.onHide();

dragging.current = false;
ZIndexUtils.clear(maskRef.current);
setMaskVisibleState(false);
Expand Down

0 comments on commit 0426a0d

Please sign in to comment.