Hacker News new | ask | show | jobs
by lifthrasiir 339 days ago
Ah, I forgot that (everything except for the interaction should be okay, though). For the visibility state however, checking for focus is insufficient because you can have elements focused without the document being visible.