AnsweredAssumed Answered

Using Dom nodes in a popup content function (api v4.5)

Question asked by faribaultGIS on Oct 10, 2017
Latest reply on Oct 18, 2017 by faribaultGIS

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?

Outcomes