Scroll to, only when parent group is visible

Hey guys!
Captura de tela de 2022-12-13 11-03-26
Does anyone knows why we don’t have the option on the Scroll to function to only do that when a group is visible?

In my case, I have a repeating group cell, which when the user clicks on it, shows another group with more details of that cell, and then rolls the screen to better portrait that “details group”. It works perfectly, but I’m having issues when the user clicks again in the “parent” cell to close the “details group”, the Scroll action scrolls again, but now trowing the user’s screen way bellow, where there’s nothing.
If I could only activate the Scroll when the details group is not visible, that would fix it.

So, I noticed that sometimes the “is visible” doesn’t appear, there’s a trick… you have 2 options:

Option 1 → put this directly in the Workflow’s condition

Option 2 → go to any element in your bubble’s build, and create the condition there (g orders-cell-toggle is visible), then right-click → copy expression, and then paste exoression where you want it, inside your ‘scroll to’ step

1 Like

evil genius! It worked, mate. Thanks!

*Although it worked in reverse, but it worked \o

oh, you could do the same with “isn’t visible” hahahah

I admit that I wrote the answer without paying attention that you wanted an “isn’t visible” condition

1 Like