So I am creating a Instant app using the slider template and I have enabled popups for the layers. Now in Map Viewer, the viewer is able to detect the layer which has been clicked on and shows the popup accordingly as shown below.


But when I click on any of the layers in the Instant app, the app is unable to detect the layer and return an empty popup as shown below.

Even when I click on the layer in the pop up itself, it returns empty values as shown below and also the app does not pick up the layer name in the popup and rather shows the temperature layer as `Untitled`. And I am guessing that the other Untitled layer is the basemap.


It does pick up the popup from the coral reef layer but it does not automatically show it as I have to first click on the layer list > then click on the coral layer to show the pop up.

The layers that I am using are from the Living Atlas and can be access from the links given below.
HYCOM Sea Water Temperature
NOAA Coral Reef Watch stations