mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-17 10:41:13 +08:00
fix(react): ensure inline modal content is visible (#23968)
This commit is contained in:
@ -119,7 +119,14 @@ export const createInlineOverlayComponent = <PropType, ElementType>(
|
||||
* so conditionally render the component
|
||||
* based on the isOpen state.
|
||||
*/
|
||||
return React.createElement(tagName, newProps, (this.state.isOpen) ? React.createElement('div', { id: 'ion-react-wrapper', ref: this.wrapperRef }, children) : null);
|
||||
return React.createElement(tagName, newProps, (this.state.isOpen) ?
|
||||
React.createElement('div', {
|
||||
id: 'ion-react-wrapper',
|
||||
ref: this.wrapperRef,
|
||||
style: { height: '100%' }
|
||||
}, children) :
|
||||
null
|
||||
);
|
||||
}
|
||||
|
||||
static get displayName() {
|
||||
|
Reference in New Issue
Block a user