I have two overlapping layers, one FeatureLayer and one ImageryTileLayer. Both have popups. When clicking, I would need the popup of the FeatureLayer to come first. Is this possible?
I have tried adding the layers in different order, and also doing this for my selected feature in my FeatureLayer:
mapView.popup.viewModel.selectedFeatureIndex = 0
..but nothing works and the ImageryTileLayer popup always comes first. Using Arcgis for JS 4.26.