Popup-Maker
Popup-Maker copied to clipboard
Press ESC and F4 to close don't work on any popups launched from another popup
Describe the bug
Popup Maker > Popup Settings > Close > Alternate Methods
Press ESC to Close and Press F4 to Close don't work on any popups that are launched from another popup. Only Click Overlay to Close works.
Site information
Popup Maker version: 1.18.1
WordPress version: 6.2
PHP version: X.X.X
Expected behavior
All alternate close methods should work for any popup launched from another popup when the alternate methods settings are on.
Current behavior
See description.
Steps to reproduce
- Create a popup that has a click open trigger for another popup.
- Added the pum-close and popmake-close classes to the click open trigger so the first popup closes when the second popup opens.
- Turn on all Close > Alternate Methods for both popups.
- Bring up the first popup and press your ESC key. The first popup closes.
- Bring up the first popup again and this time click the trigger in the first popup to display the second popup.
- After the second popup displays, press ESC or F4 and the popup will not close as it should. If you click outside the popup content area, the popup will close.
Errors
None
Additional context
Reproduced by a customer and 2 support team members.