Hi,
PopupTemplate fails on the sketchWidget graphicsLayer at 4.21 here is a code sample (draw a rectangle with the rectangle tool to show popup)
4.21 (fails):
https://codepen.io/christophesuter/pen/QWMeqmo?editors=1000
4.20 (works):
https://codepen.io/christophesuter/pen/VwzoMGM?editors=100
Am I doing something wrong ? Anyone had the same problem ?
Sorry, I've tried to get a workaround but this should be working. In the error is the message "Instance of 'esri.layers.GraphicsLayer' is already destroyed", but I can't figure out why that would be happening. I'm thinking you should open a ticket with Esri on this one as it looks like a bug to me.
Hi Heather,
Meanwhile I had this BUG assignment: BUG-000144839 - PopupTemplate fails on the sketchWidget graphicsLayer
Best,
Christophe
Has this issue been identified? I'm running into the same issue on 4.22.
Downgraded to 4.20 and everything works fine.
Thanks!
Hey, there is any update on this? I made it works but I had to delete the graphic from the graphics layer and add it again but by creating a whole new polygon..
Hi, we are still investigating this issue. The problem is not specifically with the popupTemplate but rather on the Sketch end. As soon as we get a better idea of the issue causing this and when it will be addressed, we will make certain to pass that information along.
Thanks for reaching out,
Heather