Sliding panel and popup

  • 1
  • Problem
  • Updated 1 year ago
  • Solved
I have a popup with a table.  The table I have a row action sliding panel. The sliding panel opens behind the popup.  Is this as expected?
https://drive.google.com/file/d/0BzBJWINUVfkvMDFFV2hnbTJSSlU/view
Photo of Bill Fox

Bill Fox

  • 7,954 Points 5k badge 2x thumb

Posted 1 year ago

  • 1
Photo of Matt Small

Matt Small

  • 1,182 Points 1k badge 2x thumb
Hi Bill, 

I see what your trying to do here. I would recommend making the action on the click to open the sliding panel a multiple actions (action). Close the top most panel then toggle the sliding panel. 
On close of the sliding panel you can then force your popup to open to go back to the original state of the page. 

Let me know what you think of this idea. 
Photo of Bill Fox

Bill Fox

  • 7,954 Points 5k badge 2x thumb
I am not sure it will know which popup to re-open?
Photo of Stephen Sells

Stephen Sells, Official Rep

  • 16,856 Points 10k badge 2x thumb
Matt's approach would work. With his approach, the user would need to reopen the pop up after interacting with the Sliding Panel.

Another approach would be to change the z-index of the sliding panel with custom CSS so that it would appear in front of everything.
Photo of Bill Fox

Bill Fox

  • 7,954 Points 5k badge 2x thumb
How and where would you suggest i put the css?
Photo of Stephen Sells

Stephen Sells, Official Rep

  • 16,856 Points 10k badge 2x thumb
You'd have to find the exact one for your page but this is the one I found in a basic repro page I have made. The highest z-index score will show on top. You can set it to 58 if your heart should desire. But if something else is 59, then it's been beat!

Photo of Bill Fox

Bill Fox

  • 7,954 Points 5k badge 2x thumb
Is there any plane to have popups and sliding panels resect each other like popups respect popups?
Photo of Stephen Sells

Stephen Sells, Official Rep

  • 16,856 Points 10k badge 2x thumb
How so?