-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(react): backdrop for inline modal/popover overlay
- Loading branch information
1 parent
4715b83
commit c1d4978
Showing
4 changed files
with
31 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
import { JSX } from '@ionic/core/components'; | ||
import { IonModal as IonModalCmp } from '@ionic/core/components/ion-modal.js'; | ||
import { JSX, modalController } from '@ionic/core/components'; | ||
|
||
import { createInlineOverlayComponent } from './createInlineOverlayComponent' | ||
|
||
export const IonModal = /*@__PURE__*/ createInlineOverlayComponent< | ||
JSX.IonModal, | ||
HTMLIonModalElement | ||
>('ion-modal', IonModalCmp); | ||
>('ion-modal', modalController); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
import { JSX } from '@ionic/core/components'; | ||
import { IonPopover as IonPopoverCmp } from '@ionic/core/components/ion-popover.js'; | ||
import { JSX, popoverController } from '@ionic/core/components'; | ||
|
||
import { createInlineOverlayComponent } from './createInlineOverlayComponent' | ||
|
||
export const IonPopover = /*@__PURE__*/ createInlineOverlayComponent< | ||
JSX.IonPopover, | ||
HTMLIonPopoverElement | ||
>('ion-popover', IonPopoverCmp); | ||
>('ion-popover', popoverController); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters