Adding a Trigger to Hide a Scrolliing panel
I added a panel that slides out smoothly to show the course transcript. The panel is activated when the user clicks a button on the page.
I've put the panel on a separate slide layer. On some slides I need a scrolling text box for longer transcript text.
When the user clicks the close button, I can do one of two things:
1. Abruptly hide the entire layer, which isn't smooth.
2. Have the panel slide back in the some direction it slid onto the page
I would prefer to use option 2. The problem is that I cannot apply an exit animation to the scrolling panel, or a trigger to hide only the scrolling panel, while everything else slides back.
Does anyone have a script or know of some other way I can apply an exit animation to the scrolling panel, or a trigger to hide only it while everything else slides back smoothly?