I am trying to create a custom Popup Template but it's not rendering on the map.
When I click something on the map, it still shows the old /default popup.
Why is the old default one still showing? Am I doing something wrong?
When I inspect the default popup, it says the classname is Esri popup wrapper.
Can you share a working codepen that shows the issue? It would be helpful to see the layer for the popup as well.
Also, here are some useful resources:
Popup Template sample
ArcGIS API for JavaScript Sandbox
Popup Template tutorial