Skip to content

v4.3.1 breaks antd popover #189

@e965

Description

@e965

When I try to click on the button in popover trigger, the application crashes.

    <Popover
        title={'test'}
        placement="bottomRight"
        trigger="click"
        content={
            <Form style={{ textAlign: 'center' }}>
                <Button onClick={console.log}>test</Button>
            </Form>
        }>
        <Button type="link" className="ant-btn--action" title={'test'}>
            test
        </Button>
    </Popover>

Console output at this moment:
image
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions