Hi Folks,
I use a widget controller to have a legend widget in the bottom left of my map in an Experience that looks and functions somewhat like the old classic tabbed StoryMaps, with a side panel for non-spatial content. However, I am having an issue where if a user collapses the side panel the widget controller will move but the legend panel sometimes moves and at other times remains locked in the middle of the map. Clicking the legend widget in the controller so the legend panel turns off and then on again makes it show in the correct place but this is not an ideal work-around for the user. I have checked widget settings for the Widget (currently floating panel arrangement - fixed panle arrangement made it even worse) and can not find anything that seems to resolve this behaviour. Has anyone else experienced this issue, know how to resolve it or if it is a known bug?
View when opeing the experience with legend panel open by default:
If I collapse the side panel, the widget always moves, but sometimes the legend panel does not:
If the legend panel does move when I collapse the side panel sometimes it does not when I expand the side panel again:
Thanks
Derek
When you use a Widget Controller with the Floating Panel option, the Panel is placed relative to the location of the Widget Controller. Your Sidebar causes the map area to resize and the Widget Controller to move, but the Panel doesn't get the message and stays put. Probably the best way to fix this is to use the Widget Controller Style Tab to set the location based on the right side of the screen. This should keep the Widget Controller and Panel from moving when the Sidebar opens and closes. You may need to use px instead of %.
You may also want to use the Overlay option in the Sidebar Content Tab. This will prevent the map area from resizing when the Sidebar opens or closes.
Thanks Jeffery, Unfortunately I want the widget controller and panel to move left when the sidebar collapses, not leave it locked in place. Also, the Overlay option means the sidebar hides the widget controller and legend panel until it is collapsed. This does confirm to me that this is perhaps a bug or enhancement that could be logged with esri so I will look into that. One option I am considering is changing the Tools layout in the map and moving the widget controller fixed to the top right of the map. That way, the legend panel won't overlap any other widgets and, in theory, won't need to move when the sidebar collapses.
Hello @DerekPhyn,
The inconsistent panel location you’re seeing is likely due to a subtle behavior in our logic: the floating panel remembers its position once users move it. If you open the widget panel without moving it, the panel will always follow the icon. However, once you move it (even clicking the header counts), that position is remembered and used going forward.
At the moment, I don't think there is a workaround for this behavior unless the controller is enhanced to offer more options. As a practical solution, I’d recommend placing the controller at the bottom right of the map to prevent the panels from overlapping with the sidebar.