Running into a couple of popup issues new in 4.5 api version. If I have a simple popup content function that returns a domnode, the domnode is refreshed every time the popup moves. This isn't a big deal for simple popup contents, but if I have a 3rd party javascript library working in the popup, it breaks because the element is removed/reinserted.
https://codepen.io/anon/pen/WZJaBj?editors=0010
Anyone have some suggestions on how to workaround this?