This is plain vanilla JS, I\'m trying to make a pop-out div that closes when you click outside of it. For whatever reason, though, (e) => popoutNode.contains(e.target)<
(e) => popoutNode.contains(e.target)<