Close top sliding panel

  • 1
  • Question
  • Updated 1 year ago
  • Answered
I have a sliding panel that opens with 95% of the screen.  Within the opened sliding panel I open another sliding panel with 90% of the screen.  If I put a button on the page "Close" and choose the action "Close All Sliding Panels" it does exactly what the choice says. Is there a method to close ONLY the top sliding panel like closing the "Top Most Popup"?   
Photo of Bill Fox

Bill Fox

  • 8,490 Points 5k badge 2x thumb

Posted 2 years ago

  • 1
Photo of Mark DeSimone

Mark DeSimone, Official Rep

  • 11,934 Points 10k badge 2x thumb
Hi Bill. There isn't currently an action available for this. I think the intention is that to close the topmost panel, the user would click outside of the panel that should be closed.  When you've got overlapping sliding panels, the scenario gets a bit more complicated. If you would like, you can of course share this as an idea with specifics about what's involved in your use-case. 
Photo of Josef Lagorio

Josef Lagorio

  • 3,260 Points 3k badge 2x thumb
A specific use case would be building a mobile application that has multiple layers. Just like the mobile page builder had page panels, this would simulate that experience allowing a user to go down multiple layers and then back as they please vs. back to home.