disable clicking popup title snapping the popup back to feature - moving popups API 4x

08-11-2020 06:15 AM
Frequent Contributor

I am working on creating moving popups for the 4.x JS API. Here is the sample. https://codepen.io/kevinsagis/full/bGpdQQq  Kelly Gerrow

However...When clicking the popup title, it snaps back to the feature. Is there a way to disable this? What event or handler should I disable and how?  It looks like it's in the element with class esri-popup__header

I watched the mouse event in the API and of course it is minified so it is not clear what is happening or how to disable.

Edit: for now I just used jQuery to stop the click event. Works fine but would still be interesting to know the native event handling.

Tags (2)
0 Kudos
0 Replies