-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
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
Labels
No labels