Hey daas! You could try setting a condition on your ‘Group X is clicked’ workflow to only trigger if Group Y is not visible.
To do this:
Go to the workflow where you have the ‘Group X is clicked’ event.
Add a condition to this event like: Only when Group Y is not visible.
This way, the workflow will only run when Group Y isn’t showing, and any clicks or typing within the input field in Group X should be ignored since Group Y will already be visible after the first click.