ProcessWire
ProcessWire copied to clipboard
Closing modals and panels with escape key
Would be handy if modals and panels could be closed with the escape key.
There is an option (closeOnEscape=true) that you could set in your config.php. It's just not enabled per default. https://github.com/ryancramerdesign/ProcessWire/blob/f10bea0201bf4ae167230b8c4d69673759764898/wire/config.php#L943
But I don't know what's about panels right now.
Thanks! That works great. The setting is not working for the panels.
Lets keep this one open so I don't forget, as I've been meaning to add esc key to panels as a default behavior.