mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-16 10:01:59 +08:00
fix(react): do not unmount overlay inner component until overlay is dismissed (#22763)
resolves #22761
This commit is contained in:
@ -123,7 +123,7 @@ export const createOverlayComponent = <
|
||||
}
|
||||
|
||||
render() {
|
||||
return ReactDOM.createPortal(this.props.isOpen ? this.props.children : null, this.el);
|
||||
return ReactDOM.createPortal(this.props.children, this.el);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user