Popup event handler document instance undefined #11475
Labels
bug
Indicates a bug with one or multiple components.
status/merged
Indicates when a Pull Request has been merged to a Release.
Prerequisites
Description
The popup event triggers (
elementor/popup/show
andelementor/popup/hide
) passes 2 extra parameters as separate arguments and therefore when adding an event listener to it, the popup document instance (the 2nd param) returnsundefined
.The JQuery
.trigger()
docs state that extra parameters need to passed as a single argument either as an array or plainObject.The text was updated successfully, but these errors were encountered: