4 ms·
Could you elaborate on what you mean by "normal close in most examples"? All the examples I see come with a JS snippet to add an event listener to the close but
by codethief 2y ago
Could you elaborate on what you mean by "normal close in most examples"? All the examples I see come with a JS snippet to add an event listener to the close button and those work for me in Firefox for Android.
- extra88 2y agoAs the MDN article documents, you don't necessarily have to use JavaScript: ```HTML <form method="dialog"> <button>Close</button> </form> ```