Hacker News new | ask | show | jobs
by Aachen 558 days ago
For me it's the autofocus property on the close button that didn't work yesterday when I was using this in a project. Ended up adding a line to whenever I call show() like $('#thatModal *[autofocus]').focus()

MDN says this should work as intended out of the box