fix(react): overlays shown with useIonModal and useIonPopover no longer render outside of main react tree

closes #23516 and #23516
This commit is contained in:
Ely Lucas
2021-10-15 15:29:25 -06:00
committed by GitHub
parent 3451a34ad0
commit f3e492c897
13 changed files with 197 additions and 46 deletions

View File

@@ -1,8 +1,10 @@
import { PopoverOptions, popoverController } from '@ionic/core/components';
import { useCallback } from 'react';
import { ReactComponentOrElement } from '../models/ReactComponentOrElement';
import { HookOverlayOptions } from './HookOverlayOptions';
import { ReactComponentOrElement, useOverlay } from './useOverlay';
import { useOverlay } from './useOverlay';
/**
* A hook for presenting/dismissing an IonPicker component