Skip to content

No Such Animal: onMinimize DOM event #224

@topanga

Description

@topanga

It seems @cognigy/webchat ^33.3.0 or earlier implemented onMinimize incorrectly

There is no onMinimize event listener built into the DOM - only for onClick, onChange, onFocus, etc

Trying to use it results in 'unknown event handler' error

This is what was likely intended:

<button onClick={onMinimize}>Minimize</button>

This is what was implemented in error - hence the bug:

<button onMinimize={onMinimize}>Minimize</button>

See

node_modules@cognigy\webchat\dist\webchat.esm.js 1112268, 112269, 112405, 112436, 130222, 320288, 130290, 136463

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