Hello everyone,
I’m currently working on a project where an information window or sidebar is displayed when either an item in the list is clicked or a line on the map is selected. This works fine – the sidebar opens as expected.
Now, I want the sidebar to automatically close when the selection is cleared. I’ve already tried several approaches:
Fixed Window: No actions can be assigned here.
Sidebar: There is only a trigger to “open,” but no trigger to “close.”
Button: There is a “Toggle Sidebar” trigger, which I like, but I cannot assign it to both the list widget and the map widget at the same time, as it is not available there.
My question: What would be the correct approach to automatically close the sidebar (or any information window, whether it’s a fixed window, sidebar, anchored window, or other variant) when no selection exists anymore?
Thanks in advance for your tips!
Here you can see my current status of my Trail Experience:
This is exactly what I am looking for 😞