Log in/Log out button is glitching

Hello, i have tried User Accounts and after adding Log in/Log out button i noticed that the button is glitching when i’m logged out. From glitching i mean its start as “Log out” and in split of seconds change to “Log in”, it happens every time i open the site, refresh the site and change pages. Is it a general problem with this button or it is only happening to me( i tried it on multiple devices and browsers ), if it is general issue is it fixable?

That how it’s designed. Until the login data has loaded Webflow.js doesn’t set the component state, and there’s a server-side GraphQL query happening in-between, which take a second or two to deliver results.

You could hide the login button completely for a few seconds with script, so that when it appears it’s probably already selected ( depends on network and server speed ).

1 Like