Skip to content

When using mui's Popover rendering in a toast, it cannot be used. #752

@oneQiu

Description

@oneQiu
Image
      notify.info(t('autoBindCompletedTitle'), {
        description: (
          <>
            <Box component='span' color='error.main'>
              0
            </Box>
            {t('autoBindCompletedDescription', { name })}
          </>
        ),
        duration: Infinity,
        action: (
          <ButtonGroup size='small' color='info'>
            <Button onClick={startManualBind}>{t('manualBind')}</Button>
            <TestDrop />
            <Dropdown
              disablePortal
              items={[{ title: t('confirmAndClose'), onClick: () => notify.close(id) }]}
            >
              <Button style={{ minWidth: 26, padding: 4 }}>
                <SvgIcon i='down' />
              </Button>
            </Dropdown>
          </ButtonGroup>
        ),
      });

i want it;

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions