Select to view content in your preferred language

BUG: Some View Navigation Widget Quick Styles close Windows

574
3
09-24-2024 01:33 PM
Labels (1)
dcrGIS_asimm
Occasional Contributor

In my xbuilder app I have created a window with a view navigation widget and the section widget with multiple views. The window opens after a user clicks a button in a splash window. 

My issue was the view navigation widget that didn't behave as expected within a window. Every time I would click one of the view navigation widget text headers the window closes instead of changing to the appropriate section view within the window. It doesn't seem to matter if a window is set to be the splash screen or not.

After troubleshooting, I noticed the URL parameters change after clicking the header and the window closes:

https://experience.arcgis.com/experience/item id/page/Map?dlg=Guided-Tour&views=Introduction

becomes

https://experience.arcgis.com/experience/item id/page/Map?views=Legend

instead of

https://experience.arcgis.com/experience/item id/page/Map?dlg=Guided-Tour&views=Legend

After some more troubleshooting, I realized that this only happens when you pick certain quick styles for the view navigation widget. Specifically, the text header ones and the dot ones. It looks like certain quick styles don't pass the dlg= parameter (that I assume specifies the window) for some reason. 

This issue isn't a problem when you use the arrow quick styles in the view navigator widget. I crossed out the ones I had issues with in the image below:

dcrGIS_asimm_0-1727209835043.png

 

0 Kudos
3 Replies
ShengdiZhang
Esri Regular Contributor

Hi @dcrGIS_asimm ,

Which version of Experience Builder are you using? I cannot reproduce this bug on AGOL.

Regards,

Shengdi

0 Kudos
dcrGIS_asimm
Occasional Contributor

Hi @ShengdiZhang. Here is a video that displays the unexpected behavior I am seeing. Notice that after I click the tour button I see ?dlg= but when I click the next header in the Navigation View, the window unexpectedly closes and I lose the dlg parameter and get only Map? instead. The next time I open the window through the Help button and navigate through the tour I get the expected behavior with Map?dlg= This only appears to happen when I initially load the experience.

Note: I appear to be using Experience builder 1.18.0 according to the console.

0 Kudos
ShengdiZhang
Esri Regular Contributor

Hi @dcrGIS_asimm , I can confirm that this is a bug, and we plan to include a fix in the next release of ArcGIS Online. Thanks for letting us know.

0 Kudos