Forum Discussion
Lightboxing from a Scrolling Panel - Position of Panel after Lightbox Closes
I seem to be having some illogical behaviour when I lightbox 'slide b' from 'slide a' which has a scrolling panel. If the panel is scrolled down when the lightbox opens, then the panel in slide a (in the background) stays where it is, but when the lightbox closes, the content in the panel resets so that it is set at the top, ready to scroll down again.
If that is the design, then fair enough... but, the scrollbar disagrees. It still shows the panel as scrolled down. If I click on the scrollbar to adjust it a little, then the content jumps back to being completely scrolled down - where really it should logically be.
Is this a bug? Is it known? Is there a workaround? Any thoughts?
16 Replies
Hello James!
Thank you for sharing your file and these details! I understand that you want the next button to change to normal when a trigger on the lightbox slide changes a variable.
Can you take a look at the changes I've made to your project? I've changed the trigger to change the state of the next button when the variable, UnlockNEXT, is equal to true.
- JohnnyBarton-c1Community Member
Just a quick update on the second issue:
The timeline was misleading me. It wasn't stopped by opening the lightbox, it was just set to a short length, so it happened to run out whilst the lightbox was opened.
However, there is still an issue with a trigger that changes the next button, on a base slide, not working when a lightboxed slide changes the variable that should run that trigger.
By lengthening the timeline, the workaround with the constantly moving box is working, but it feels like a bit of an excessive workaround in order to alternatively call a trigger. Just to be clear, I have no need for a moving box on the slide - and if this is the only workaround, then I'll place it just off the slide.
Any suggestions for a more elegant solution would be great.
I've added a simple example.
- JohnnyBarton-c1Community Member
Thanks Lauren... Hope it's an easy one for your developers to fix!
Meanwhile, as we're on the subject of lightboxes, could I ask you (or the developers via you) about some other behavior when using lightboxes:
If I have a lightbox opening from a layer in 'slide a', where the layer is set so that the timeline on the base layer doesn't pause, when that lightbox is open does the timeline on the base layer of 'slide a' pause? And when the lightbox is closed, should the timeline on the base layer start running again?
I have an example at the moment where I have PREV and NEXT buttons on the 'slide a', but don't have navigation set on the slide that is lightboxed. There is a trigger on the base layer of 'slide a' which changes NEXT to normal when 'variable x 'changes. (NEXT is set to Disabled on timeline start of 'slide a'). 'Variable x' changes on the slide that is being lightboxed. In this set up, NEXT does not become normal.
I tried a workaround where I placed a box on the base layer of 'slide a' and gave it a small animation path. A trigger moves the box on the path when the timeline starts, and another trigger moves it on the path when when the animation finishes. So it just keeps moving forever whilst on the slide. Another trigger runs whenever the animation on this box finishes, which sets NEXT to normal if 'variable x' is changed (it could be T/F or not zero or not blank etc). When I open the layer, then open the lightbox from the layer, then change the variable in the lightbox, then close the lightbox and close the layer I am back on the base layer. However, the box has stopped moving. The timeline has frozen and therefore the animation doesn't complete and NEXT doesn't go to normal.
Sorry for the long explanation. Let me know if you'd like me to build and send a demo instead.
Again, any ideas on workarounds for this would be great.
Hi James!
Thank you so much for bringing this to our attention! I see what you're experiencing, and I see the same when recreating this setup in my own project.
I've filed this behavior as a bug so that we can begin investigating. I'll make sure to update you on any progress in this discussion.
- AngelaKimCommunity Member
Yes, I'm experiencing the same issue with the scrolling box resetting to the top of the text and scroll bar remaining to appear scrolled down when opening/closing a lightbox. I'm replying to this thread so that I can be informed when there is a fix or workaround for this. Thanks!
Hello Angela!
I really appreciate you taking the time to jump into this discussion and share that you're also running into this bug. I've added your comments to our report so we can update you when a fix is released.
Related Content
- 9 months ago
- 11 months ago
- 6 months ago