Fix PosePicker support modal
It wouldn't open, because I'd set `isLazy` on the popover, so opening the modal would close and UNMOUNT the popover, which unmounted the modal! Now, we use the new `lazyBehavior` prop to keep it mounted _after_ the first time it opens. This is why I needed to upgrade Chakra!
This commit is contained in:
parent
ee0185a846
commit
f3e9df2d91
1 changed files with 1 additions and 0 deletions
|
@ -163,6 +163,7 @@ function PosePicker({
|
|||
onClose={onUnlockFocus}
|
||||
initialFocusRef={initialFocusRef}
|
||||
isLazy
|
||||
lazyBehavior="keepMounted"
|
||||
>
|
||||
{({ isOpen }) => (
|
||||
<ClassNames>
|
||||
|
|
Loading…
Reference in a new issue