Select to view content in your preferred language

Sidebar Widget - Collapse button now inaccessible behind sidebar

129
1
a week ago
Labels (1)
MackenzeOriger
Occasional Contributor

I have an experience builder application that relies on multiple sidebars for the mobile view. 

MackenzeOriger_0-1763582899009.png

When the user clicks a list button, it opens the relevant List view in another sidebar, from the bottom of the screen. The user is meant to only open the sidebar this way, so when i created the app I offset the expand/collapse button by 15 units so it is hidden while the sidebar is down. If the sidebar is up, the user would still be able to close it. The arrow would render on top of the view widget, instead of floating above it. This is what it looked like previously:

MackenzeOriger_1-1763583419054.png

But now the arrow to close the sidebar is rendered beneath the View widget, so it is invisible and unclickable unless it is moved up. I don't want this, as opening the sidebar without selecting a view would just show an irrelevant List.

This must have been in a recent update, as this was not in my original configuration. What is the point of a positive offset if it makes the collapse button unusable?

0 Kudos
1 Reply
JeffreyThompson2
MVP Frequent Contributor

Here's a way to get your desired functionality:

  • In the Sidebar Widget, turn the Collapse Button off.JeffreyThompson2_0-1763654643075.png

     

  • Inside the Collapsible Side of the Sidebar, add a Button Widget.
  • Go to the Action Tab and create a Button Click > Sidebar > Toggle Sidebar Action.
GIS Developer
City of Arlington, Texas
0 Kudos