Custom State - Account & Log-In Button

I created basically 2 groups with buttons that show/hide based on if the user is logged in or not.

Group 1 - Log in (Shows when user is not logged in/hidden & collapsed by default)
Group 2 - Account (Shows when user is logged in/hidden & collapsed by default)

The issue with the custom states is that every time a user clicks on a new page, the Log in and Account buttons flicker in and out depending on if the user is logged in. Is there any way to stop this?

It’s very possible that I have the custom states created incorrectly, as this is the first time I’m working with these.

I think using conditional would serve the purpose better.

In conditional tab of the button use condition when user is logged in or logged out then set the visibilty.

You can do this within one group.

@kazimdgoni Thank you for the quick response. This worked perfectly. I feel like I should be able to come up with these simple solutions, but my brain always tries to work harder. Haha

Thank you again!

You are welcome. Wish you good luck to your project. :dart::dart::dart:

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.