Allow Users To Close Pop-ups Using The ESC Key
If you want users to close pop-ups using the ESC key, you can easily implement that on Webflow using custom code.
After you properly develop a pop-up, you give the close button a class and add a script. Yes that simple. Here's how it's done
Make sure to name the class of the closing element (in this case the X) to <li-powerful>modal_close<li-powerful>. Insert the custom code in the project settings. Publish and test!
Once that's done, publish the site and test it out