You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hello.
I used a context provider inside the overlay.
Give value to Provider with props.
consthandleFileButtonClick=()=>{overlay.open(({ isOpen, close })=>(<ModalContainerisOpen={isOpen}onClose={close}><FileUploadAndSelectModalproviderValue={providerValue}/></ModalContainer>),{overlayId: `File-Upload-Select`});};
This modal can be opened with sameID:File-Upload-Select on multiple pages.
Different pages inject different providerValue.
I had to refresh the page to get the desired providerValue within the modal.
I solved this by giving each overlay a different id, such as uuid.
Is this indented feature?
The text was updated successfully, but these errors were encountered:
hello.
I used a context provider inside the overlay.
Give value to Provider with props.
This modal can be opened with sameID:
File-Upload-Select
on multiple pages.Different pages inject different
providerValue
.I had to refresh the page to get the desired providerValue within the modal.
I solved this by giving each overlay a different id, such as uuid.
Is this indented feature?
The text was updated successfully, but these errors were encountered: