News for hackers. Stuff that matters.
Re:Twitter: A Clusterfuck of UI Mistakes by dawnerd on Monday September 12, 2016 @12:11PM (#12480916)
Oh yeah that's annoying. And when you close it they push a new history state so if you hit back the modal opens again. Personally I think modals shouldn't be a URL. If you want it to be a permalink then make it a standalone page.
Re:Twitter: A Clusterfuck of UI Mistakes by vertex-four on Monday September 12, 2016 @12:44PM (#12481246)
IMHO, it should pushState a proper URL to the image, then history.back() to close it.